Lines Matching defs:res
2500 int res;
2502 res = rdev_get_antenna(rdev, &tx_ant, &rx_ant);
2503 if (!res) {
2934 int res;
2936 res = rdev_get_txq_stats(rdev, NULL, &txqstats);
2937 if (!res &&
10309 struct cfg80211_bss *res = &intbss->pub;
10336 if ((!is_zero_ether_addr(res->bssid) &&
10337 nla_put(msg, NL80211_BSS_BSSID, ETH_ALEN, res->bssid)))
10342 if (rcu_access_pointer(res->proberesp_ies) &&
10349 ies = rcu_dereference(res->ies);
10360 ies = rcu_dereference(res->beacon_ies);
10371 if (res->beacon_interval &&
10372 nla_put_u16(msg, NL80211_BSS_BEACON_INTERVAL, res->beacon_interval))
10374 if (nla_put_u16(msg, NL80211_BSS_CAPABILITY, res->capability) ||
10375 nla_put_u32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq) ||
10377 res->channel->freq_offset) ||
10378 nla_put_u32(msg, NL80211_BSS_CHAN_WIDTH, res->scan_width) ||
10402 if (nla_put_u32(msg, NL80211_BSS_SIGNAL_MBM, res->signal))
10406 if (nla_put_u8(msg, NL80211_BSS_SIGNAL_UNSPEC, res->signal))
10584 int res;
10591 res = nl80211_prepare_wdev_dump(cb, &rdev, &wdev, attrbuf);
10592 if (res) {
10594 return res;
10603 res = -EINVAL;
10608 res = -EOPNOTSUPP;
10614 res = rdev_dump_survey(rdev, wdev->netdev, survey_idx, &survey);
10616 if (res == -ENOENT)
10618 if (res)
10638 res = skb->len;
10642 return res;