Commit 37a98bfa authored by Kapil Bhatt's avatar Kapil Bhatt Committed by Anas Nashif
Browse files

drivers: wifi: Add kconfig option to disable WMM feature



[SHEL-2054] Adding a kconfig option for WMM.
By default it will be enabled. If user needs
to disable it, set it as n.

Signed-off-by: default avatarKapil Bhatt <kapil.bhatt@nordicsemi.no>
parent 2ec8bfda
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -667,4 +667,10 @@ config NRF_WIFI_COMBINED_BUCKEN_IOVDD_GPIO
	  there will be a internal hardware switch to add delay between the two operations. This
	  is typically 4ms delay for nRF70.

config NRF_WIFI_FEAT_WMM
	bool "WMM/QoS support"
	default y
	help
	  This option controls disable/enable of the WMM(Wireless Multi-Media) feature.

endif # WIFI_NRF70
+1 −2
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ BUILD_ASSERT(CONFIG_NRF70_TX_MAX_DATA_SIZE >= MAX_TX_FRAME_SIZE,
	"TX buffer size must be at least as big as the MTU and headroom");

static const unsigned char aggregation = 1;
static const unsigned char wmm = 1;
static const unsigned char max_num_tx_agg_sessions = 4;
static const unsigned char max_num_rx_agg_sessions = 8;
static const unsigned char reorder_buf_size = 16;
@@ -707,7 +706,7 @@ static int nrf_wifi_drv_main_zep(const struct device *dev)

#ifdef CONFIG_NRF70_DATA_TX
	data_config.aggregation = aggregation;
	data_config.wmm = wmm;
	data_config.wmm = IS_ENABLED(CONFIG_NRF_WIFI_FEAT_WMM);
	data_config.max_num_tx_agg_sessions = max_num_tx_agg_sessions;
	data_config.max_num_rx_agg_sessions = max_num_rx_agg_sessions;
	data_config.max_tx_aggregation = max_tx_aggregation;