Home | History | Annotate | Download | only in iw

Lines Matching refs:tb_freq

85 	struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1];
171 nla_parse(tb_freq, NL80211_FREQUENCY_ATTR_MAX, nla_data(nl_freq),
173 if (!tb_freq[NL80211_FREQUENCY_ATTR_FREQ])
175 freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]);
178 if (tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER] &&
179 !tb_freq[NL80211_FREQUENCY_ATTR_DISABLED])
180 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER]));
183 if (tb_freq[NL80211_FREQUENCY_ATTR_DISABLED]) {
189 if (tb_freq[NL80211_FREQUENCY_ATTR_NO_IR] && tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]) {
191 } else if (tb_freq[NL80211_FREQUENCY_ATTR_PASSIVE_SCAN]) {
193 } else if (tb_freq[__NL80211_FREQUENCY_ATTR_NO_IBSS]){
197 if (tb_freq[NL80211_FREQUENCY_ATTR_RADAR])
204 if (!tb_freq[NL80211_FREQUENCY_ATTR_DISABLED] && tb_freq[NL80211_FREQUENCY_ATTR_DFS_STATE]) {
205 enum nl80211_dfs_state state = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_STATE]);
209 if (tb_freq[NL80211_FREQUENCY_ATTR_DFS_TIME]) {
210 time = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_TIME]);
214 if (tb_freq[NL80211_FREQUENCY_ATTR_DFS_CAC_TIME])
216 nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_DFS_CAC_TIME]));