From: Prameela Rani Garnepudi <prameela.j04cs@xxxxxxxxx> For few regulatory customizations, we are taking rsi_reg as module parameter. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@xxxxxxxxx> --- drivers/net/wireless/rsi/rsi_91x_main.c | 4 ++++ drivers/net/wireless/rsi/rsi_common.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/drivers/net/wireless/rsi/rsi_91x_main.c b/drivers/net/wireless/rsi/rsi_91x_main.c index bf05242..e290779 100644 --- a/drivers/net/wireless/rsi/rsi_91x_main.c +++ b/drivers/net/wireless/rsi/rsi_91x_main.c @@ -24,6 +24,10 @@ #include "rsi_coex.h" #include "rsi_hal.h" +static u16 rsi_reg = RSI_REG_DEF; +module_param(rsi_reg, ushort, 0444); +MODULE_PARM_DESC(rsi_reg, "0 - RSI_REG_DEF, 1 - RSI_REG_DLCAR"); + u32 rsi_zone_enabled = /* INFO_ZONE | INIT_ZONE | MGMT_TX_ZONE | diff --git a/drivers/net/wireless/rsi/rsi_common.h b/drivers/net/wireless/rsi/rsi_common.h index d9ff3b8..df40556 100644 --- a/drivers/net/wireless/rsi/rsi_common.h +++ b/drivers/net/wireless/rsi/rsi_common.h @@ -24,6 +24,9 @@ #define QUEUE_NOT_FULL 1 #define QUEUE_FULL 0 +#define RSI_REG_DEF 0 +#define RSI_REG_DLCAR 1 + static inline int rsi_init_event(struct rsi_event *pevent) { atomic_set(&pevent->event_condition, 1); -- 2.7.4