wifi: iwlwifi: Don't mark DFS channels as NO-IR
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 19 Dec 2023 19:58:51 +0000 (21:58 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Dec 2023 19:35:16 +0000 (20:35 +0100)
commit308cc451ef37003ee2e4ce373993f3bd5117e36f
treefd921ee36a8af07d76a119336620f20ec817987c
parenta1910a7ffd171f9852af6d5408575609f381b2ad
wifi: iwlwifi: Don't mark DFS channels as NO-IR

The NVM_CHANNEL_ACTIVE bit means that active scanning/beaconing is
allowed, however it's not an exact opposite of IEEE80211_CHAN_NO_IR.
For example, NVM_CHANNEL_ACTIVE bit is not set on DFS channels, while
cfg80211 doesn't really expect NO-IR on DFS channels.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231219215605.94cd9b96a532.Ifb0e8d8a6a6384493758f26b811d58432536101a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c