Home
last modified time | relevance | path

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

/net/mac80211/
Dtrace.h1091 TP_PROTO(struct ieee80211_local *local, u32 tx_ant, u32 rx_ant, int ret),
1093 TP_ARGS(local, tx_ant, rx_ant, ret),
1097 __field(u32, tx_ant)
1104 __entry->tx_ant = tx_ant;
1111 LOCAL_PR_ARG, __entry->tx_ant, __entry->rx_ant, __entry->ret
1116 TP_PROTO(struct ieee80211_local *local, u32 tx_ant, u32 rx_ant, int ret),
1118 TP_ARGS(local, tx_ant, rx_ant, ret),
1122 __field(u32, tx_ant)
1129 __entry->tx_ant = tx_ant;
1136 LOCAL_PR_ARG, __entry->tx_ant, __entry->rx_ant, __entry->ret
Ddriver-ops.h643 u32 tx_ant, u32 rx_ant) in drv_set_antenna() argument
648 ret = local->ops->set_antenna(&local->hw, tx_ant, rx_ant); in drv_set_antenna()
649 trace_drv_set_antenna(local, tx_ant, rx_ant, ret); in drv_set_antenna()
654 u32 *tx_ant, u32 *rx_ant) in drv_get_antenna() argument
659 ret = local->ops->get_antenna(&local->hw, tx_ant, rx_ant); in drv_get_antenna()
660 trace_drv_get_antenna(local, *tx_ant, *rx_ant, ret); in drv_get_antenna()
Dcfg.c3490 static int ieee80211_set_antenna(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant) in ieee80211_set_antenna() argument
3497 return drv_set_antenna(local, tx_ant, rx_ant); in ieee80211_set_antenna()
3500 static int ieee80211_get_antenna(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant) in ieee80211_get_antenna() argument
3504 return drv_get_antenna(local, tx_ant, rx_ant); in ieee80211_get_antenna()
/net/wireless/
Drdev-ops.h748 u32 tx_ant, u32 rx_ant) in rdev_set_antenna() argument
751 trace_rdev_set_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_set_antenna()
752 ret = rdev->ops->set_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_set_antenna()
758 u32 *tx_ant, u32 *rx_ant) in rdev_get_antenna() argument
762 ret = rdev->ops->get_antenna(&rdev->wiphy, tx_ant, rx_ant); in rdev_get_antenna()
766 trace_rdev_return_int_tx_rx(&rdev->wiphy, ret, *tx_ant, in rdev_get_antenna()
Dnl80211.c1399 u32 tx_ant = 0, rx_ant = 0; in nl80211_send_wiphy() local
1401 res = rdev_get_antenna(rdev, &tx_ant, &rx_ant); in nl80211_send_wiphy()
1405 tx_ant) || in nl80211_send_wiphy()
2257 u32 tx_ant, rx_ant; in nl80211_set_wiphy() local
2263 tx_ant = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX]); in nl80211_set_wiphy()
2268 if ((~tx_ant && (tx_ant & ~rdev->wiphy.available_antennas_tx)) || in nl80211_set_wiphy()
2272 tx_ant = tx_ant & rdev->wiphy.available_antennas_tx; in nl80211_set_wiphy()
2275 result = rdev_set_antenna(rdev, tx_ant, rx_ant); in nl80211_set_wiphy()