diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2012-04-09 09:33:58 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-04-09 11:25:56 -0400 |
commit | df90b36940019a879d08bc5e8a20daa0c9fe0122 (patch) | |
tree | 0be946d8ad4042097b20295cfc806ae6d10a1c5d /drivers/net/wireless/ath/ath6kl/wmi.h | |
parent | bed56e313ada1d25d16e4101677c8f75eda78c60 (diff) |
ath6kl: Configure htcap in fw based on the channel type in AP mode
This patch disables HT in start_ap if the type of the channel on
which the AP mode is going to be operating is non-HT. HT is enabled
with default ht cap setting if the operating channel is going to be
11n.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index b99e9bdca7c6..ee45d1022532 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h | |||
@@ -1271,6 +1271,16 @@ struct wmi_mcast_filter_add_del_cmd { | |||
1271 | u8 mcast_mac[ATH6KL_MCAST_FILTER_MAC_ADDR_SIZE]; | 1271 | u8 mcast_mac[ATH6KL_MCAST_FILTER_MAC_ADDR_SIZE]; |
1272 | } __packed; | 1272 | } __packed; |
1273 | 1273 | ||
1274 | struct wmi_set_htcap_cmd { | ||
1275 | u8 band; | ||
1276 | u8 ht_enable; | ||
1277 | u8 ht40_supported; | ||
1278 | u8 ht20_sgi; | ||
1279 | u8 ht40_sgi; | ||
1280 | u8 intolerant_40mhz; | ||
1281 | u8 max_ampdu_len_exp; | ||
1282 | } __packed; | ||
1283 | |||
1274 | /* Command Replies */ | 1284 | /* Command Replies */ |
1275 | 1285 | ||
1276 | /* WMI_GET_CHANNEL_LIST_CMDID reply */ | 1286 | /* WMI_GET_CHANNEL_LIST_CMDID reply */ |
@@ -2473,6 +2483,9 @@ int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi); | |||
2473 | int ath6kl_wmi_set_wmm_txop(struct wmi *wmi, u8 if_idx, enum wmi_txop_cfg cfg); | 2483 | int ath6kl_wmi_set_wmm_txop(struct wmi *wmi, u8 if_idx, enum wmi_txop_cfg cfg); |
2474 | int ath6kl_wmi_set_keepalive_cmd(struct wmi *wmi, u8 if_idx, | 2484 | int ath6kl_wmi_set_keepalive_cmd(struct wmi *wmi, u8 if_idx, |
2475 | u8 keep_alive_intvl); | 2485 | u8 keep_alive_intvl); |
2486 | int ath6kl_wmi_set_htcap_cmd(struct wmi *wmi, u8 if_idx, | ||
2487 | enum ieee80211_band band, | ||
2488 | struct ath6kl_htcap *htcap); | ||
2476 | int ath6kl_wmi_test_cmd(struct wmi *wmi, void *buf, size_t len); | 2489 | int ath6kl_wmi_test_cmd(struct wmi *wmi, void *buf, size_t len); |
2477 | 2490 | ||
2478 | s32 ath6kl_wmi_get_rate(s8 rate_index); | 2491 | s32 ath6kl_wmi_get_rate(s8 rate_index); |