static inline bool cfg80211_channel_is_psc(struct ieee80211_channel *chan){ if (chan->band != NL80211_BAND_6GHZ) return false; return ieee80211_frequency_to_channel(chan->center_freq) % 16 == 5; } johannes
sure Johannes. Above looks neat. Thanks pradeep