aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2012-05-08 21:30:23 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 12:46:35 -0400
commit9b930eaed9c7e722eb1ae4f4632ff1ab285b3c4a (patch)
treec4f9cdd92f84f81374417e9408a59b398f6d929a /drivers/net/wireless/mwifiex/fw.h
parent4f02341ac27f70700a4fff4f3671857ca4227822 (diff)
mwifiex: common set_wiphy_params cfg80211 handler for AP and STA interface
Add support for setting fragmentation threshold, RTS threshold and retry limit. Since wiphy parameters are properties of physical device, appropriate function to set phy parameters is invoked depending upon bss_type(STA or AP) for each virtual interface. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index a3e9c28465bf..a4c2fc3e3d71 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -106,9 +106,12 @@ enum MWIFIEX_802_11_PRIVACY_FILTER {
106#define TLV_TYPE_AUTH_TYPE (PROPRIETARY_TLV_BASE_ID + 31) 106#define TLV_TYPE_AUTH_TYPE (PROPRIETARY_TLV_BASE_ID + 31)
107#define TLV_TYPE_STA_MAC_ADDR (PROPRIETARY_TLV_BASE_ID + 32) 107#define TLV_TYPE_STA_MAC_ADDR (PROPRIETARY_TLV_BASE_ID + 32)
108#define TLV_TYPE_CHANNELBANDLIST (PROPRIETARY_TLV_BASE_ID + 42) 108#define TLV_TYPE_CHANNELBANDLIST (PROPRIETARY_TLV_BASE_ID + 42)
109#define TLV_TYPE_UAP_RTS_THRESHOLD (PROPRIETARY_TLV_BASE_ID + 51)
110#define TLV_TYPE_UAP_FRAG_THRESHOLD (PROPRIETARY_TLV_BASE_ID + 70)
109#define TLV_TYPE_RATE_DROP_CONTROL (PROPRIETARY_TLV_BASE_ID + 82) 111#define TLV_TYPE_RATE_DROP_CONTROL (PROPRIETARY_TLV_BASE_ID + 82)
110#define TLV_TYPE_RATE_SCOPE (PROPRIETARY_TLV_BASE_ID + 83) 112#define TLV_TYPE_RATE_SCOPE (PROPRIETARY_TLV_BASE_ID + 83)
111#define TLV_TYPE_POWER_GROUP (PROPRIETARY_TLV_BASE_ID + 84) 113#define TLV_TYPE_POWER_GROUP (PROPRIETARY_TLV_BASE_ID + 84)
114#define TLV_TYPE_UAP_RETRY_LIMIT (PROPRIETARY_TLV_BASE_ID + 93)
112#define TLV_TYPE_WAPI_IE (PROPRIETARY_TLV_BASE_ID + 94) 115#define TLV_TYPE_WAPI_IE (PROPRIETARY_TLV_BASE_ID + 94)
113#define TLV_TYPE_MGMT_IE (PROPRIETARY_TLV_BASE_ID + 105) 116#define TLV_TYPE_MGMT_IE (PROPRIETARY_TLV_BASE_ID + 105)
114#define TLV_TYPE_AUTO_DS_PARAM (PROPRIETARY_TLV_BASE_ID + 113) 117#define TLV_TYPE_AUTO_DS_PARAM (PROPRIETARY_TLV_BASE_ID + 113)
@@ -1117,6 +1120,21 @@ struct host_cmd_ds_sys_config {
1117 u8 tlv[0]; 1120 u8 tlv[0];
1118}; 1121};
1119 1122
1123struct host_cmd_tlv_frag_threshold {
1124 struct host_cmd_tlv tlv;
1125 __le16 frag_thr;
1126} __packed;
1127
1128struct host_cmd_tlv_rts_threshold {
1129 struct host_cmd_tlv tlv;
1130 __le16 rts_thr;
1131} __packed;
1132
1133struct host_cmd_tlv_retry_limit {
1134 struct host_cmd_tlv tlv;
1135 u8 limit;
1136} __packed;
1137
1120struct host_cmd_tlv_mac_addr { 1138struct host_cmd_tlv_mac_addr {
1121 struct host_cmd_tlv tlv; 1139 struct host_cmd_tlv tlv;
1122 u8 mac_addr[ETH_ALEN]; 1140 u8 mac_addr[ETH_ALEN];