Browse Source

[802.11] Allow connecting to spectrum managed networks

Contrary to the IEEE specification, some access points apparently
set the Spectrum Mgmt bit in the capabilities field even when
broadcasting on a 2.4GHz band that does not require spectrum
management. Allow gPXE to attempt to connect to such networks;
if spectrum management is really required, our advertisement
of capabilities not including it will result in an association
failure.

Reported-by: Peter Meyer <residue@xmail.net>

Signed-off-by: Marty Connor <mdc@etherboot.org>
tags/v1.0.0-rc1
Joshua Oreman 15 years ago
parent
commit
aa1b894ecd
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      src/net/80211/net80211.c

+ 0
- 6
src/net/80211/net80211.c View File

1026
 		return -ENOSYS;
1026
 		return -ENOSYS;
1027
 	}
1027
 	}
1028
 
1028
 
1029
-	if ( capab & IEEE80211_CAPAB_SPECTRUM_MGMT ) {
1030
-		DBGC ( dev, "802.11 %p cannot handle spectrum managed "
1031
-		       "network\n", dev );
1032
-		return -ENOSYS;
1033
-	}
1034
-
1035
 	dev->phy_flags &= ~( NET80211_PHY_USE_SHORT_PREAMBLE |
1029
 	dev->phy_flags &= ~( NET80211_PHY_USE_SHORT_PREAMBLE |
1036
 			     NET80211_PHY_USE_SHORT_SLOT );
1030
 			     NET80211_PHY_USE_SHORT_SLOT );
1037
 
1031
 

Loading…
Cancel
Save