Message ID | 20201009021811.18584-1-pradeepc@codeaurora.org |
---|---|
Headers | show |
Series | ath11k: add support for 256 bitmap in Block ack and duration based RTS threshold | expand |
> +static void > +ieee80211_mesh_update_bss_params(struct ieee80211_sub_if_data *sdata, > + u8 *ie, u8 ie_len) > +{ > + struct ieee80211_supported_band *sband; > + const u8 *cap; > + const struct ieee80211_he_operation *he_oper = NULL; > + > + sband = ieee80211_get_sband(sdata); > + if (!sband) > + return; > + > + if (ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT) && > + !(sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || > + sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || > + sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10)) > + return; Are you update BSS only for sub-20Mhz? Shouldn't you remove "!" for 20~160Mhz? Thanks, Peter
>> + if (ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT) && >> + !(sdata->vif.bss_conf.chandef.width == >> NL80211_CHAN_WIDTH_20_NOHT || >> + sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || >> + sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10)) >> + return; > > Are you update BSS only for sub-20Mhz? > > Shouldn't you remove "!" for 20~160Mhz? > > > Thanks, > > Peter Thanks Peter for the review..Might have been a typo and I missed it.. I will fix this and submit next revision.