summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-02-02 09:59:36 +0200
committerLuciano Coelho <coelho@ti.com>2011-02-08 22:51:42 -0200
commitfe5ef090660de340b52823de7cb65b899bb4f012 (patch)
tree4dbc2cf61410fdb626a101d2a4f7fa06725d7f7b /drivers/net/wireless/wl12xx/conf.h
parentc8bde243421d759844264cf11e4248e7862c2722 (diff)
wl12xx: use the conf struct instead of macros for memory configuration
make the configuration management more flexible by using the conf struct, rather than predefined macros. Signed-off-by: Eliad Peller <eliad@wizery.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index d8c124919382..856a8a2fff4f 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -1152,6 +1152,18 @@ struct conf_ht_setting {
};
struct conf_memory_settings {
+ /* Number of stations supported in IBSS mode */
+ u8 num_stations;
+
+ /* Number of ssid profiles used in IBSS mode */
+ u8 ssid_profiles;
+
+ /* Number of memory buffers allocated to rx pool */
+ u8 rx_block_num;
+
+ /* Minimum number of blocks allocated to tx pool */
+ u8 tx_min_block_num;
+
/* Disable/Enable dynamic memory */
u8 dynamic_memory;