summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorEliad Peller2014-02-10 12:47:23 +0100
committerJohn W. Linville2014-02-13 21:20:15 +0100
commit32f0fd5b700064f821105be041d0075decc4ec64 (patch)
treeefb6c5216fbd72e430e0a8ca8ee3869c45fcc98b /drivers/net/wireless/ti/wlcore/wlcore.h
parentwlcore/wl12xx/wl18xx: configure num_links per-hw (diff)
downloadkernel-qcow2-linux-32f0fd5b700064f821105be041d0075decc4ec64.tar.gz
kernel-qcow2-linux-32f0fd5b700064f821105be041d0075decc4ec64.tar.xz
kernel-qcow2-linux-32f0fd5b700064f821105be041d0075decc4ec64.zip
wlcore/wl12xx/wl18xx: configure max_stations per-hw
Each hw supports a different max stations (connected to the same ap). add a new wl->max_ap_stations and use it instead of the current common AP_MAX_STATIONS. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 98b1875d6e91..2356bddc7cdb 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -438,6 +438,8 @@ struct wl1271 {
u32 num_rx_desc;
/* number of links the HW supports */
u8 num_links;
+ /* max stations a single AP can support */
+ u8 max_ap_stations;
/* translate HW Tx rates to standard rate-indices */
const u8 **band_rate_to_idx;