diff options
| author | Mahesh Palivela <maheshp@posedge.com> | 2012-10-11 04:04:52 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 05:02:15 -0400 |
| commit | f461be3eff662f01a177ecea8c1d7b040bb6bfbe (patch) | |
| tree | 7c83ffadf4f1cfe25e69bfdf129643dc1c4e326f /include | |
| parent | 818255ea47709065c53c86ca47fce96d8580bee1 (diff) | |
{nl,cfg}80211: Peer STA VHT caps
To save STAs VHT caps in AP mode
Signed-off-by: Mahesh Palivela <maheshp@posedge.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/cfg80211.h | 2 | ||||
| -rw-r--r-- | include/uapi/linux/nl80211.h | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 60cebfac3e3c..607b5c02f740 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
| @@ -498,6 +498,7 @@ enum station_parameters_apply_mask { | |||
| 498 | * @plink_action: plink action to take | 498 | * @plink_action: plink action to take |
| 499 | * @plink_state: set the peer link state for a station | 499 | * @plink_state: set the peer link state for a station |
| 500 | * @ht_capa: HT capabilities of station | 500 | * @ht_capa: HT capabilities of station |
| 501 | * @vht_capa: VHT capabilities of station | ||
| 501 | * @uapsd_queues: bitmap of queues configured for uapsd. same format | 502 | * @uapsd_queues: bitmap of queues configured for uapsd. same format |
| 502 | * as the AC bitmap in the QoS info field | 503 | * as the AC bitmap in the QoS info field |
| 503 | * @max_sp: max Service Period. same format as the MAX_SP in the | 504 | * @max_sp: max Service Period. same format as the MAX_SP in the |
| @@ -517,6 +518,7 @@ struct station_parameters { | |||
| 517 | u8 plink_action; | 518 | u8 plink_action; |
| 518 | u8 plink_state; | 519 | u8 plink_state; |
| 519 | struct ieee80211_ht_cap *ht_capa; | 520 | struct ieee80211_ht_cap *ht_capa; |
| 521 | struct ieee80211_vht_cap *vht_capa; | ||
| 520 | u8 uapsd_queues; | 522 | u8 uapsd_queues; |
| 521 | u8 max_sp; | 523 | u8 max_sp; |
| 522 | }; | 524 | }; |
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 179a0c2e2f61..71ab23b0356d 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -1276,6 +1276,9 @@ enum nl80211_commands { | |||
| 1276 | * @NL80211_ATTR_SAE_DATA: SAE elements in Authentication frames. This starts | 1276 | * @NL80211_ATTR_SAE_DATA: SAE elements in Authentication frames. This starts |
| 1277 | * with the Authentication transaction sequence number field. | 1277 | * with the Authentication transaction sequence number field. |
| 1278 | * | 1278 | * |
| 1279 | * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from | ||
| 1280 | * association request when used with NL80211_CMD_NEW_STATION) | ||
| 1281 | * | ||
| 1279 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 1282 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1280 | * @__NL80211_ATTR_AFTER_LAST: internal use | 1283 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 1281 | */ | 1284 | */ |
| @@ -1535,6 +1538,8 @@ enum nl80211_attrs { | |||
| 1535 | 1538 | ||
| 1536 | NL80211_ATTR_SAE_DATA, | 1539 | NL80211_ATTR_SAE_DATA, |
| 1537 | 1540 | ||
| 1541 | NL80211_ATTR_VHT_CAPABILITY, | ||
| 1542 | |||
| 1538 | /* add attributes here, update the policy in nl80211.c */ | 1543 | /* add attributes here, update the policy in nl80211.c */ |
| 1539 | 1544 | ||
| 1540 | __NL80211_ATTR_AFTER_LAST, | 1545 | __NL80211_ATTR_AFTER_LAST, |
| @@ -1578,6 +1583,7 @@ enum nl80211_attrs { | |||
| 1578 | #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16 | 1583 | #define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY 16 |
| 1579 | #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24 | 1584 | #define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY 24 |
| 1580 | #define NL80211_HT_CAPABILITY_LEN 26 | 1585 | #define NL80211_HT_CAPABILITY_LEN 26 |
| 1586 | #define NL80211_VHT_CAPABILITY_LEN 12 | ||
| 1581 | 1587 | ||
| 1582 | #define NL80211_MAX_NR_CIPHER_SUITES 5 | 1588 | #define NL80211_MAX_NR_CIPHER_SUITES 5 |
| 1583 | #define NL80211_MAX_NR_AKM_SUITES 2 | 1589 | #define NL80211_MAX_NR_AKM_SUITES 2 |
