Lines Matching defs:c

464 int cfg80211_chandef_primary(const struct cfg80211_chan_def *c,
469 int width = cfg80211_chandef_get_width(c);
470 u32 control = c->chan->center_freq;
471 u32 center = c->center_freq1;
484 *punctured = c->punctured;
625 struct ieee80211_channel *c;
636 c = ieee80211_get_channel_khz(wiphy, freq);
637 if (!c || !(c->flags & IEEE80211_CHAN_RADAR))
640 c->dfs_state = dfs_state;
641 c->dfs_state_entered = jiffies;
722 struct ieee80211_channel *c;
729 c = ieee80211_get_channel_khz(wiphy, freq);
730 if (!c)
733 if (c->flags & IEEE80211_CHAN_RADAR &&
734 !cfg80211_dfs_permissive_chan(wiphy, iftype, c))
786 struct ieee80211_channel *c;
803 c = ieee80211_get_channel_khz(wiphy, freq);
804 if (!c)
807 if (c->flags & IEEE80211_CHAN_DISABLED)
810 if (c->flags & IEEE80211_CHAN_RADAR) {
811 if (c->dfs_state == NL80211_DFS_UNAVAILABLE)
814 if (c->dfs_state == NL80211_DFS_USABLE)
996 struct ieee80211_channel *c;
1016 c = ieee80211_get_channel_khz(wiphy, freq);
1017 if (!c)
1020 if (c->flags & IEEE80211_CHAN_DISABLED)
1023 if ((c->flags & IEEE80211_CHAN_RADAR) &&
1024 (c->dfs_state != NL80211_DFS_AVAILABLE) &&
1025 !(c->dfs_state == NL80211_DFS_USABLE && dfs_offload))
1036 struct ieee80211_channel *c;
1048 c = ieee80211_get_channel_khz(wiphy, freq);
1049 if (!c || (c->flags & IEEE80211_CHAN_DISABLED)) {
1057 if (!(c->flags & IEEE80211_CHAN_RADAR))
1060 if (cf == 1 && c->dfs_cac_ms > t1)
1061 t1 = c->dfs_cac_ms;
1063 if (cf == 2 && c->dfs_cac_ms > t2)
1064 t2 = c->dfs_cac_ms;
1194 struct ieee80211_channel *c;
1334 c = ieee80211_get_channel_khz(wiphy, freq);
1335 if (!c)
1337 if (c->flags & permitting_flags)
1339 if (c->flags & prohibited_flags)