CHANGES revision 1.1
1*** 2*** Summary of changes between 2005-05-18 and 2005-07-11. 3*** 4*** % cvs -d freebsdanoncvs@anoncvs.freebsd.org:/home/ncvs co src 5*** % cd src/sys/net80211/ 6*** % cvs2cl --hide-filenames --no-indent --no-wrap -f CHANGES \ 7*** -l '-d 2005-05-18<=2005-07-11' 8*** 9 102005-07-10 22:06 sam 11 12Handle encrypt of arbitarily fragmented mbuf chains: previously 13we bailed if we couldn't collect the 16-bytes of data required 14for an aes block cipher in 2 mbufs; now we deal with it. While 15here make space accounting signed so a sanity check does the 16right thing for malformed mbuf chains. 17 182005-07-10 22:00 sam 19 20nuke assert that duplicates real check 21 222005-07-09 18:15 sam 23 24Change default key allocation method to do the right thing for 25legacy parts (i.e. those that have 4 global key slots). We 26blindly assign unicast keys to key slot 0. Devices that need 27alternate allocation logic must override this method. 28 292005-07-08 17:49 sam 30 31correct check for high priority wme traffic 32 33Noticed by: Ralf Assmann 34 352005-07-08 11:36 sam 36 37fix another instance of the MORE_DATA bit handling for frames on the 38power save queue (missed in previous commit) 39 40Submitted by: Bruno Randolf 41 422005-07-06 10:38 sam 43 44add "pureg" mode for ap operation: reject association requests from 4511b-only stations when operating in 11g 46 472005-07-05 20:55 sam 48 49Fix handling of data frames queued for a station in power save mode: 50don't mark the MORE_DATA bit when taking it off the ps queue, there's 51no 802.11 header then; we must wait to do this at encap time so 52mark the mbuf instead. 53 54Obtained from: Atheros 55 562005-07-05 20:51 sam 57 58Fix race condition in handling node reference counts for authenticating 59stations in ap mode. Track when a node's first auth frame is 60received and use this to decide whether or not to bump the refcnt. 61This insures we only ever bump the refcnt once. 62 632005-07-05 20:31 avatar 64 65Only update the scan entry state based on newly received frames. 66This fixes duplicative BSS entries(memory leaks as well) listed in 67"ifconfig dev list scan" when a station fails to associate with an AP. 68 692005-07-05 13:05 sam 70 71remove auto-add of IEEE80211_KEY_GROUP; all the apps that need to 72set it have been fixed 73 742005-07-05 12:35 sam 75 76o when setting a wpa key, hold a ref on the bss node; 77 fixes a ref cnt leak 78o make unicast key handling on delete identical to set 79o change legacy wep key api to reset the 802.11 state 80 machine for backwards compatibility 81 822005-07-03 20:29 sam 83 84when operating in ap mode, explicitly drop associated/authenticated 85stations when transitioning to INIT state (e.g. as a result of 86changing state at the 802.11 level) 87 882005-06-13 16:01 sam 89 90revert 1.53; it breaks ibss merge 91 92Noticed by: Bruno Randolf 93 942005-06-10 16:30 sam 95 96don't look at the wme ie in a beacon unless we negotiated use 97 982005-06-10 11:49 brooks 99 100Stop embedding struct ifnet at the top of driver softcs. Instead the 101struct ifnet or the layer 2 common structure it was embedded in have 102been replaced with a struct ifnet pointer to be filled by a call to the 103new function, if_alloc(). The layer 2 common structure is also allocated 104via if_alloc() based on the interface type. It is hung off the new 105struct ifnet member, if_l2com. 106 107This change removes the size of these structures from the kernel ABI and 108will allow us to better manage them as interfaces come and go. 109 110Other changes of note: 111 - Struct arpcom is no longer referenced in normal interface code. 112 Instead the Ethernet address is accessed via the IFP2ENADDR() macro. 113 To enforce this ac_enaddr has been renamed to _ac_enaddr. 114 - The second argument to ether_ifattach is now always the mac address 115 from driver private storage rather than sometimes being ac_enaddr. 116 1172005-06-10 11:14 sam 118 119validate the bssid for non-data frames too when operating in 120adhoc/ahdemo/hostap modes 121 1222005-06-10 11:11 sam 123 124o fix wpa w/ wme: don't strip the QoS header on recv as tkip requires 125 it; instead pass the space occupied by the header down into the 126 crypto modules (except in the demic case which needs it only when 127 doing int in s/w) 128o while here fix defrag to strip the header from 2nd and later frames 129o teach decap code how to handle 4-address frames 130 1312005-06-10 00:04 sam 132 133mark stations authorized during recv processing instead of doing it 134as a side effect of sending an auth success frame; sending mgmt 135frames should not have side effects 136 1372005-06-09 23:42 sam 138 139move AID implementation defines from the protocol definitions to 140where they are used 141 1422005-06-09 23:37 sam 143 144accept diassoc frame in ASSOC state 145 1462005-06-09 20:48 sam 147 148pull some debug msgs up so they're seen more often 149 1502005-06-09 20:47 sam 151 152kick the state machine when we receive failure notice from an ap (when 153operating in sta mode); this speeds up the state machine, previously 154we were acting on a timeout 155 1562005-06-09 20:43 sam 157 158discard open auth requests in adhoc mode 159 1602005-06-09 20:41 sam 161 162reject open auth requests when shared key auth is configured 163 164Obtained from: Atheros 165 1662005-06-09 20:40 sam 167 168add ieee80211_send_error to encapsulate an idiom 169 1702005-06-09 20:38 sam 171 172o always check if ic_set_tim is !NULL before using it 173o add missing call to clear tim after flushing ps q 174 1752005-06-09 20:35 sam 176 177mark state for protection only when operating in 11g 178 1792005-06-09 20:33 sam 180 181don't reject station based on the PRIVACY bit in the capabilities; 182the 802.11 spec says not to 183 184Obtained from: Atheros 185 1862005-06-09 20:31 sam 187 188correct checks for rate set compatibility 189 1902005-06-09 20:29 sam 191 192record tstamp from beacons received in station mode when associated; 193this is needed by drivers that want to resync their timers based on 194the tsf of the last recv'd beacon frame 195 1962005-06-08 23:05 sam 197 198o collect dtim period+count from beacons in station mode so drivers 199 can better program beacon timers 200o leave placeholder in com structure for future ap/adhoc mode tim support 201 2022005-06-07 18:37 sam 203 204Change the MLME ASSOCIATE ioctl to accept either a ssid, a bssid, 205or a bssid+ssid. This is needed for later versions of wpa_supplicant 206and for forthcoming addons to wpa_supplicant. 207 208Note this is an api change and applications must be rebuilt. 209 2102005-06-07 18:31 sam 211 212Don't clock the state machine in various cases when roaming is set 213to manual; this helps keep wpa_supplicant in sync. 214 2152005-06-06 19:08 sam 216 217WPA/802.11i interoperability fixes: 218o only include capabilities word in the WPA ie when non-zero and 219 not preauth 220o always include the capabilities in the RSN ie 221 222Obtained from: Atheros 223 2242005-06-05 23:04 sam 225 226add force flag to enmic/demic crypto api for use in xmit fragmentation 227and h/w mic verification 228