diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-11-24 18:02:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:05:06 -0500 |
commit | 9bf22f2c4607dbb68beb26153d83fa52b82e2d2f (patch) | |
tree | 13336c0aa86248f4608f15b597d5a09b7dbab1d2 /drivers/net/wireless/iwmc3200wifi/commands.h | |
parent | 2944b2c2d2dd884c550163c698577132588277d8 (diff) |
iwmc3200wifi: Implement cfg80211 PMKSA API
We need to implement the PMKSA API for proper WPA2 pre-auth and fast
re-association. Our fullmac device generates all (re-)assoc IEs, and thus it
needs the right PMKIDs. With this implementation we now get them from
wpa_supplicant.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.h')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/commands.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/commands.h b/drivers/net/wireless/iwmc3200wifi/commands.h index 95cdf941b222..06af0552cd75 100644 --- a/drivers/net/wireless/iwmc3200wifi/commands.h +++ b/drivers/net/wireless/iwmc3200wifi/commands.h | |||
@@ -458,6 +458,17 @@ struct iwm_umac_cmd_stop_resume_tx { | |||
458 | u16 reserved; | 458 | u16 reserved; |
459 | } __attribute__ ((packed)); | 459 | } __attribute__ ((packed)); |
460 | 460 | ||
461 | #define IWM_CMD_PMKID_ADD 1 | ||
462 | #define IWM_CMD_PMKID_DEL 2 | ||
463 | #define IWM_CMD_PMKID_FLUSH 3 | ||
464 | |||
465 | struct iwm_umac_pmkid_update { | ||
466 | __le32 command; | ||
467 | u8 bssid[ETH_ALEN]; | ||
468 | __le16 reserved; | ||
469 | u8 pmkid[WLAN_PMKID_LEN]; | ||
470 | } __attribute__ ((packed)); | ||
471 | |||
461 | /* LMAC commands */ | 472 | /* LMAC commands */ |
462 | int iwm_read_mac(struct iwm_priv *iwm, u8 *mac); | 473 | int iwm_read_mac(struct iwm_priv *iwm, u8 *mac); |
463 | int iwm_send_prio_table(struct iwm_priv *iwm); | 474 | int iwm_send_prio_table(struct iwm_priv *iwm); |
@@ -488,6 +499,8 @@ int iwm_scan_ssids(struct iwm_priv *iwm, struct cfg80211_ssid *ssids, | |||
488 | int iwm_scan_one_ssid(struct iwm_priv *iwm, u8 *ssid, int ssid_len); | 499 | int iwm_scan_one_ssid(struct iwm_priv *iwm, u8 *ssid, int ssid_len); |
489 | int iwm_send_umac_stop_resume_tx(struct iwm_priv *iwm, | 500 | int iwm_send_umac_stop_resume_tx(struct iwm_priv *iwm, |
490 | struct iwm_umac_notif_stop_resume_tx *ntf); | 501 | struct iwm_umac_notif_stop_resume_tx *ntf); |
502 | int iwm_send_pmkid_update(struct iwm_priv *iwm, | ||
503 | struct cfg80211_pmksa *pmksa, u32 command); | ||
491 | 504 | ||
492 | /* UDMA commands */ | 505 | /* UDMA commands */ |
493 | int iwm_target_reset(struct iwm_priv *iwm); | 506 | int iwm_target_reset(struct iwm_priv *iwm); |