summaryrefslogtreecommitdiff
path: root/sys/net80211
AgeCommit message (Collapse)Author
2007-07-24use rc4_skip().Damien Bergamini
fix ieee80211_eapol_key_encrypt() so that we don't add more padding bytes than necessary in the case of AES Key Wrap encryption.
2007-07-24remove some unused key derivation functions.Damien Bergamini
we won't support PeerKey handshake in a first time.
2007-07-24remove arc4_ compatibility macros.Damien Bergamini
2007-07-24add functions to compute EAPOL-Key Key MIC fields and to encrypt/decryptDamien Bergamini
EAPOL-Key Data fields.
2007-07-24add ic_globalcnt to struct ieee80211com:Damien Bergamini
in an RSNA, each STA must maintain a 256-bit global key counter that must be initialized to a random value (see 8.5.7).
2007-07-24cleanup definition of struct ieee80211_eapol_key.Damien Bergamini
prepend 802.1X header. use byte-arrays to prevent access to unaligned fields.
2007-07-18modify ieee80211_aes_key_wrap() to support in-place encryption.Damien Bergamini
explicitly use ovbcopy() even if our kernel memcpy() supports overlapping buffers.
2007-07-18add AES Key Wrap algorithm (see RFC 3394).Damien Bergamini
this will be used to encrypt/decrypt EAPOL-Key frames payload.
2007-07-18replace the ieee80211_wepkey structure with a more generic ieee80211_keyDamien Bergamini
one that can be used with other ciphers than WEP.
2007-07-14s/uint8_t/u_int8_t/ for consistency.Damien Bergamini
2007-07-14update QoS Tx/Rx sequence numbers for each TID.Damien Bergamini
add a parameter to ieee80211_decap() to handle different 802.11 header sizes. cleanup and clarify ieee80211_classify().
2007-07-13do not increment ic_stats.is_tx_nombuf in ieee80211_get_rts() andDamien Bergamini
ieee80211_get_cts_to_self() if mbuf allocation fails.
2007-07-13cleanup parsing of beacon and probe response mgmt frames.Damien Bergamini
2007-07-13in ieee80211_recv_assoc_resp(), do not start updating the nodeDamien Bergamini
structure until the frame has been fully validated.
2007-07-13change the way we parse IEs to make sure we never read past the end ofDamien Bergamini
the rx buffer.
2007-07-13properly check ieee80211_setup_rates() return code.Damien Bergamini
some cleanup while i'm here.
2007-07-06have ieee80211_parse_rsn() return a reason code so that we canDamien Bergamini
deauth associating stations with bad RSN IEs. cleanup parsing of vendor-specific IEs.
2007-07-06cleanup the computation of mgmt frames sizes.Damien Bergamini
still very ugly but hopefully correct.
2007-07-06remove remaining bits for pre-RSNA shared authmode support.Damien Bergamini
it has been #if 0'd since 3.9 and we have never supported this mode (no ifconfig option etc...).
2007-07-06don't check the IEEE80211_CAPINFO_PRIVACY bit in (re)association requests.Damien Bergamini
the spec says that "APs ignore the Privacy subfield within received Association and Reassociation Request managements frames". if the IEEE80211_CAPINFO_ESS bit is not set, reply with the correct status code (IEEE80211_STATUS_CAPINFO instead of IEEE80211_STATUS_BASIC_RATE). indent things a bit while i'm here.
2007-07-06initialize an unitialized variable.Damien Bergamini
2007-07-05always set the IEEE80211_CAPINFO_ESS bit in association requests.Damien Bergamini
fixes my 1.36 commit (the bit should not be set for non-AP STA only in Probe Responses and Beacons).
2007-07-05some HT frames may have an additional HT Control field.Damien Bergamini
remove two comments that were misplaced while I'm here (addr4 is always located after the i_seq field, not at the end of the header).
2007-07-05move the logic of determining whether an extended supported rates IE isDamien Bergamini
needed or not to the callers (instead of doing nothing in add_xrates).
2007-07-05split ieee80211_add_rsn() so that the code can be reused forDamien Bergamini
vendor-specific IE.
2007-07-05add myself to the copyright list.Damien Bergamini
2007-07-05add the pseudo-random function (PRF) and various key derivationDamien Bergamini
functions defined in 802.11i.
2007-07-04add subtype "Action" for management frames.Damien Bergamini
2007-07-04ignore WMM vendor IEs that are not parameter sets.Damien Bergamini
2007-07-04allow USEGROUP as the pairwise cipher for RSN IE.Damien Bergamini
add RSN IE to beacons, probe responses and (re)association requests.
2007-07-04add RSN flags for ic_caps and ic_flags.Damien Bergamini
2007-07-03maintain the traffic-indication (TIM) virtual bitmap by definingDamien Bergamini
a default ieee80211_set_tim() function that drivers can override by setting ic_set_tim.
2007-07-03add a function that builds an RSN IE (ieee80211_add_rsn).Damien Bergamini
2007-07-03fix kernel builds with IEEE80211_DEBUG enabled.Damien Bergamini
pointed out by claudio@
2007-07-03move construction of IEs into individual functions so that we don'tDamien Bergamini
duplicate the same code multiple times. add references to the spec for all these functions. fixes beacon_alloc() for FH PHYs as a side-effect.
2007-07-03don't set the IEEE80211_CAPINFO_ESS bit in the Capability InformationDamien Bergamini
field if we're not operating as an AP (see 7.3.1.4).
2007-07-03no TIM in probe reponses.Damien Bergamini
2007-07-03In ieee80211_getmbuf(), if we need to allocate a mbuf cluster becauseDamien Bergamini
the length is greater than MHLEN, test that the allocation succeeded. Otherwise, free the mbuf header and return NULL. Callers assume that if the function returns a value != NULL then enough space has been allocated.
2007-07-03fix SSID IE in the case where HIDENWID is used.Damien Bergamini
HIDENWID has been broken from the very beginning.
2007-07-03Backout part of 1.20 because IEEE80211_AUTH_ALGORITHM() and friends are usedClaudio Jeker
by hostapd and tcpdump. Now tcpdump and hostapd should build again.
2007-07-03Readd IEEE80211_REASON_RSN_REQUIRED and IEEE80211_REASON_RSN_INCONSISTENTClaudio Jeker
userland is using these defines -- unbreaks build. Found by jasper@ discussed with reyk@.
2007-07-02remove more unused stuff.Damien Bergamini
2007-07-02add new ieee80211_eapol_key structure (used by the various 802.11iDamien Bergamini
key handshakes).
2007-07-02split ieee80211_parse_rsn() so the same function can be usedDamien Bergamini
to parse both WPA1 and RSN (WPA2) IEs. rename ieee80211_parse_edca_params_common() into ieee80211_parse_edca_params_body() while i'm here.
2007-07-02fix REASON codes.Damien Bergamini
2007-07-02add IEEE80211_FC1_PROTECTED flag.Damien Bergamini
keep IEEE80211_FC1_WEP for compatibility with pre-RSNA networks.
2007-07-02initial bits for proper TIM support.Damien Bergamini
2007-07-02remove a lot of unused #defineDamien Bergamini
fix a CAPINFO name
2007-07-02replace some letoh16(*(u_int16_t *)frm) by LE_READ_2(frm)Damien Bergamini
for consistency.
2007-07-02split ieee80211_send_mgmt() like I did for ieee80211_recv_mgmt()Damien Bergamini