|
@@ -376,6 +376,7 @@ QDF_STATUS vdev_mgr_up_send(struct vdev_mlme_obj *mlme_obj)
|
|
|
struct wlan_objmgr_vdev *vdev;
|
|
|
struct config_fils_params fils_param = {0};
|
|
|
uint8_t is_6g_sap_fd_enabled;
|
|
|
+ bool is_non_tx_vdev;
|
|
|
|
|
|
if (!mlme_obj) {
|
|
|
mlme_err("VDEV_MLME is NULL");
|
|
@@ -409,9 +410,19 @@ QDF_STATUS vdev_mgr_up_send(struct vdev_mlme_obj *mlme_obj)
|
|
|
is_6g_sap_fd_enabled = wlan_vdev_mlme_feat_ext_cap_get(vdev,
|
|
|
WLAN_VDEV_FEXT_FILS_DISC_6G_SAP);
|
|
|
mlme_debug("SAP FD enabled %d", is_6g_sap_fd_enabled);
|
|
|
+
|
|
|
+ /*
|
|
|
+ * In case of a non-tx vdev, 'profile_num' must be greater
|
|
|
+ * than 0 indicating one or more non-tx vdev and 'profile_idx'
|
|
|
+ * must be in the range [1, 2^n] where n is the max bssid
|
|
|
+ * indicator
|
|
|
+ */
|
|
|
+ is_non_tx_vdev = param.profile_num && param.profile_idx;
|
|
|
+
|
|
|
if (opmode == QDF_SAP_MODE && mlme_obj->vdev->vdev_mlme.des_chan &&
|
|
|
WLAN_REG_IS_6GHZ_CHAN_FREQ(
|
|
|
- mlme_obj->vdev->vdev_mlme.des_chan->ch_freq)) {
|
|
|
+ mlme_obj->vdev->vdev_mlme.des_chan->ch_freq) &&
|
|
|
+ !is_non_tx_vdev) {
|
|
|
fils_param.vdev_id = wlan_vdev_get_id(mlme_obj->vdev);
|
|
|
if (is_6g_sap_fd_enabled) {
|
|
|
fils_param.fd_period = DEFAULT_FILS_DISCOVERY_PERIOD;
|