Searched refs:control_freq (Results  1 – 4 of 4) sorted by relevance
| /Linux-v5.15/net/wireless/ | 
| D | chan.c | 198 	u32 control_freq, oper_freq;  in cfg80211_chandef_valid()  local 207 	control_freq = chandef->chan->center_freq;  in cfg80211_chandef_valid() 228 		control_freq = ieee80211_channel_to_khz(chandef->chan);  in cfg80211_chandef_valid() 240 		if (control_freq + MHZ_TO_KHZ(control_width) / 2 >  in cfg80211_chandef_valid() 244 		if (control_freq - MHZ_TO_KHZ(control_width) / 2 <  in cfg80211_chandef_valid() 249 		if (chandef->center_freq1 != control_freq + 10 &&  in cfg80211_chandef_valid() 250 		    chandef->center_freq1 != control_freq - 10)  in cfg80211_chandef_valid() 256 		if (chandef->center_freq1 != control_freq + 30 &&  in cfg80211_chandef_valid() 257 		    chandef->center_freq1 != control_freq + 10 &&  in cfg80211_chandef_valid() 258 		    chandef->center_freq1 != control_freq - 10 &&  in cfg80211_chandef_valid() [all …] 
 | 
| D | trace.h | 135 		       __field(u32, control_freq)			\ 145 			__entry->control_freq =				\ 155 			__entry->control_freq = 0;			\ 165 #define CHAN_DEF_PR_ARG __entry->band, __entry->control_freq,		\
  | 
| D | nl80211.c | 3015 	u32 control_freq;  in nl80211_parse_chandef()  local 3020 	control_freq = MHZ_TO_KHZ(  in nl80211_parse_chandef() 3023 		control_freq +=  in nl80211_parse_chandef() 3027 	chandef->chan = ieee80211_get_channel_khz(&rdev->wiphy, control_freq);  in nl80211_parse_chandef() 3029 	chandef->center_freq1 = KHZ_TO_MHZ(control_freq);  in nl80211_parse_chandef() 3030 	chandef->freq1_offset = control_freq % 1000;  in nl80211_parse_chandef()
  | 
| /Linux-v5.15/net/mac80211/ | 
| D | trace.h | 40 #define CHANDEF_ENTRY	__field(u32, control_freq)					\ 47 			__entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0;	\ 54 #define CHANDEF_PR_ARG	__entry->control_freq, __entry->freq_offset, __entry->chan_width, \ 1585 	u32 control_freq;  member 1637 				SWITCH_ENTRY_ASSIGN(old_chandef.control_freq, 1649 				SWITCH_ENTRY_ASSIGN(new_chandef.control_freq,
  |