Home
last modified time | relevance | path

Searched refs:rx_ant (Results 1 – 5 of 5) sorted by relevance

/net/mac80211/
Dtrace.h1129 TP_PROTO(struct ieee80211_local *local, u32 tx_ant, u32 rx_ant, int ret),
1131 TP_ARGS(local, tx_ant, rx_ant, ret),
1136 __field(u32, rx_ant)
1143 __entry->rx_ant = rx_ant;
1149 LOCAL_PR_ARG, __entry->tx_ant, __entry->rx_ant, __entry->ret
1154 TP_PROTO(struct ieee80211_local *local, u32 tx_ant, u32 rx_ant, int ret),
1156 TP_ARGS(local, tx_ant, rx_ant, ret),
1161 __field(u32, rx_ant)
1168 __entry->rx_ant = rx_ant;
1174 LOCAL_PR_ARG, __entry->tx_ant, __entry->rx_ant, __entry->ret
Ddriver-ops.h649 u32 tx_ant, u32 rx_ant) in drv_set_antenna() argument
654 ret = local->ops->set_antenna(&local->hw, tx_ant, rx_ant); in drv_set_antenna()
655 trace_drv_set_antenna(local, tx_ant, rx_ant, ret); in drv_set_antenna()
660 u32 *tx_ant, u32 *rx_ant) in drv_get_antenna() argument
665 ret = local->ops->get_antenna(&local->hw, tx_ant, rx_ant); in drv_get_antenna()
666 trace_drv_get_antenna(local, *tx_ant, *rx_ant, ret); in drv_get_antenna()
Dcfg.c3289 static int ieee80211_set_antenna(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant) in ieee80211_set_antenna() argument
3296 return drv_set_antenna(local, tx_ant, rx_ant); in ieee80211_set_antenna()
3299 static int ieee80211_get_antenna(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant) in ieee80211_get_antenna() argument
3303 return drv_get_antenna(local, tx_ant, rx_ant); in ieee80211_get_antenna()
/net/wireless/
Drdev-ops.h752 u32 tx_ant, u32 rx_ant) in rdev_set_antenna() argument
755 trace_rdev_set_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_set_antenna()
756 ret = rdev->ops->set_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_set_antenna()
762 u32 *tx_ant, u32 *rx_ant) in rdev_get_antenna() argument
766 ret = rdev->ops->get_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_get_antenna()
771 *rx_ant); in rdev_get_antenna()
Dnl80211.c1438 u32 tx_ant = 0, rx_ant = 0; in nl80211_send_wiphy() local
1441 res = rdev_get_antenna(rdev, &tx_ant, &rx_ant); in nl80211_send_wiphy()
1448 rx_ant)) in nl80211_send_wiphy()
2351 u32 tx_ant, rx_ant; in nl80211_set_wiphy() local
2359 rx_ant = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]); in nl80211_set_wiphy()
2364 (~rx_ant && (rx_ant & ~rdev->wiphy.available_antennas_rx))) in nl80211_set_wiphy()
2368 rx_ant = rx_ant & rdev->wiphy.available_antennas_rx; in nl80211_set_wiphy()
2370 result = rdev_set_antenna(rdev, tx_ant, rx_ant); in nl80211_set_wiphy()