/freebsd/sys/net80211/ |
H A D | ieee80211_node.c | 102 struct ieee80211_node *ni); 231 ieee80211_node_authorize(struct ieee80211_node *ni) in ieee80211_node_authorize() argument 233 struct ieee80211vap *vap = ni->ni_vap; in ieee80211_node_authorize() 235 ni->ni_flags |= IEEE80211_NODE_AUTH; in ieee80211_node_authorize() 236 ni->ni_inact_reload = vap->iv_inact_run; in ieee80211_node_authorize() 237 ni->ni_inact = ni->ni_inact_reload; in ieee80211_node_authorize() 239 IEEE80211_NOTE(vap, IEEE80211_MSG_INACT, ni, in ieee80211_node_authorize() 240 "%s: inact_reload %u", __func__, ni->ni_inact_reload); in ieee80211_node_authorize() 244 ieee80211_node_unauthorize(struct ieee80211_node *ni) in ieee80211_node_unauthorize() argument 246 struct ieee80211vap *vap = ni->ni_vap; in ieee80211_node_unauthorize() [all …]
|
H A D | ieee80211_ht.c | 204 static int ieee80211_ampdu_enable(struct ieee80211_node *ni, 206 static int ieee80211_addba_request(struct ieee80211_node *ni, 209 static int ieee80211_addba_response(struct ieee80211_node *ni, 212 static void ieee80211_addba_stop(struct ieee80211_node *ni, 214 static void null_addba_response_timeout(struct ieee80211_node *ni, 217 static void ieee80211_bar_response(struct ieee80211_node *ni, 466 ieee80211_decap_amsdu(struct ieee80211_node *ni, struct mbuf *m) in ieee80211_decap_amsdu() argument 468 struct ieee80211vap *vap = ni->ni_vap; in ieee80211_decap_amsdu() 487 ni->ni_macaddr, "a-msdu", "%s", "decap failed"); in ieee80211_decap_amsdu() 496 ni->ni_macaddr, "a-msdu", in ieee80211_decap_amsdu() [all …]
|
H A D | ieee80211_hostap.c | 70 static int hostap_input(struct ieee80211_node *ni, struct mbuf *m, 108 sta_disassoc(void *arg, struct ieee80211_node *ni) in sta_disassoc() argument 111 if (ni->ni_associd != 0) { in sta_disassoc() 112 IEEE80211_SEND_MGMT(ni, IEEE80211_FC0_SUBTYPE_DISASSOC, in sta_disassoc() 114 ieee80211_node_leave(ni); in sta_disassoc() 119 sta_csa(void *arg, struct ieee80211_node *ni) in sta_csa() argument 121 struct ieee80211vap *vap = ni->ni_vap; in sta_csa() 123 if (ni->ni_associd != 0) in sta_csa() 124 if (ni->ni_inact > vap->iv_inact_init) { in sta_csa() 125 ni->ni_inact = vap->iv_inact_init; in sta_csa() [all …]
|
H A D | ieee80211_amrr.c | 77 static void amrr_node_stats(struct ieee80211_node *ni, struct sbuf *s); 148 amrr_node_is_11n(struct ieee80211_node *ni) in amrr_node_is_11n() 151 if (ni->ni_chan == NULL) in amrr_node_is_11n() 153 if (ni->ni_chan == IEEE80211_CHAN_ANYC) in amrr_node_is_11n() 155 if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && ni->ni_htrates.rs_nrates == 0) in amrr_node_is_11n() 157 return (IEEE80211_IS_CHAN_HT(ni->ni_chan)); in amrr_node_is_11n() 161 amrr_node_init(struct ieee80211_node *ni) in amrr_node_init() 164 struct ieee80211vap *vap = ni->ni_vap; in amrr_node_init() 175 if (ni in amrr_node_init() 147 amrr_node_is_11n(struct ieee80211_node * ni) amrr_node_is_11n() argument 160 amrr_node_init(struct ieee80211_node * ni) amrr_node_init() argument 241 amrr_node_deinit(struct ieee80211_node * ni) amrr_node_deinit() argument 248 amrr_update(struct ieee80211_amrr * amrr,struct ieee80211_amrr_node * amn,struct ieee80211_node * ni) amrr_update() argument 332 amrr_rate(struct ieee80211_node * ni,void * arg __unused,uint32_t iarg __unused) amrr_rate() argument 380 amrr_tx_complete(const struct ieee80211_node * ni,const struct ieee80211_ratectl_tx_status * status) amrr_tx_complete() argument 400 amrr_tx_update_cb(void * arg,struct ieee80211_node * ni) amrr_tx_update_cb() argument 479 amrr_print_node_rate(struct ieee80211_amrr_node * amn,struct ieee80211_node * ni,struct sbuf * s) amrr_print_node_rate() argument 496 amrr_node_stats(struct ieee80211_node * ni,struct sbuf * s) amrr_node_stats() argument [all...] |
H A D | ieee80211_mesh.c | 620 mesh_vdetach_peers(void *arg, struct ieee80211_node *ni) in mesh_vdetach_peers() argument 622 struct ieee80211com *ic = ni->ni_ic; in mesh_vdetach_peers() 625 if (ni->ni_mlstate == IEEE80211_NODE_MESH_ESTABLISHED) { in mesh_vdetach_peers() 626 args[0] = ni->ni_mlpid; in mesh_vdetach_peers() 627 args[1] = ni->ni_mllid; in mesh_vdetach_peers() 629 ieee80211_send_action(ni, in mesh_vdetach_peers() 634 callout_drain(&ni->ni_mltimer); in mesh_vdetach_peers() 637 (void *)(uintptr_t) ieee80211_mac_hash(ic, ni->ni_macaddr)); in mesh_vdetach_peers() 695 struct ieee80211_node *ni; in mesh_newstate() local 707 ni = vap->iv_bss; /* NB: no reference held */ in mesh_newstate() [all …]
|
H A D | ieee80211_wds.c | 65 static int wds_input(struct ieee80211_node *ni, struct mbuf *m, 101 wds_flush(struct ieee80211_node *ni) in wds_flush() argument 103 struct ieee80211com *ic = ni->ni_ic; in wds_flush() 108 (void *)(uintptr_t) ieee80211_mac_hash(ic, ni->ni_macaddr)); in wds_flush() 112 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_WDS, ni, in wds_flush() 114 ic->ic_node_getsignal(ni, &rssi, &nf); in wds_flush() 118 ieee80211_input(ni, m, rssi, nf); in wds_flush() 127 struct ieee80211_node *ni, *obss; in ieee80211_create_wds() local 149 ni = ieee80211_find_node_locked(&ic->ic_sta, vap->iv_des_bssid); in ieee80211_create_wds() 150 if (ni == NULL) { in ieee80211_create_wds() [all …]
|
H A D | ieee80211_adhoc.c | 119 sta_leave(void *arg, struct ieee80211_node *ni) in sta_leave() argument 121 struct ieee80211vap *vap = ni->ni_vap; in sta_leave() 123 if (ni != vap->iv_bss) in sta_leave() 124 ieee80211_node_leave(ni); in sta_leave() 134 struct ieee80211_node *ni; in adhoc_newstate() local 146 ni = vap->iv_bss; /* NB: no reference held */ in adhoc_newstate() 228 ni = vap->iv_bss; in adhoc_newstate() 235 ether_sprintf(ni->ni_bssid)); in adhoc_newstate() 237 ni->ni_esslen); in adhoc_newstate() 241 IEEE80211_RATE2MBS(ni->ni_txrate)); in adhoc_newstate() [all …]
|
H A D | ieee80211_sta.c | 187 sta_authretry(struct ieee80211vap *vap, struct ieee80211_node *ni, int reason) in sta_authretry() argument 197 IEEE80211_SEND_MGMT(ni, IEEE80211_FC0_SUBTYPE_AUTH, 1); in sta_authretry() 233 struct ieee80211_node *ni; in sta_newstate() local 246 ni = vap->iv_bss; /* NB: no reference held */ in sta_newstate() 256 IEEE80211_SEND_MGMT(ni, in sta_newstate() 259 ieee80211_sta_leave(ni); in sta_newstate() 262 IEEE80211_SEND_MGMT(ni, in sta_newstate() 332 ieee80211_sta_leave(ni); in sta_newstate() 344 IEEE80211_SEND_MGMT(ni, in sta_newstate() 352 IEEE80211_SEND_MGMT(ni, in sta_newstate() [all …]
|
H A D | ieee80211_ddb.c | 237 _db_show_sta(const struct ieee80211_node *ni) in _db_show_sta() argument 241 db_printf("STA: %p: mac %s refcnt %d\n", ni, in _db_show_sta() 242 ether_sprintf(ni->ni_macaddr), ieee80211_node_refcnt(ni)); in _db_show_sta() 244 ni->ni_vap, ni->ni_wdsvap, ni->ni_ic, ni->ni_table); in _db_show_sta() 245 db_printf("\tflags=%b\n", ni->ni_flags, IEEE80211_NODE_BITS); in _db_show_sta() 247 ni->ni_authmode, ni->ni_ath_flags, ni->ni_ath_defkeyix); in _db_show_sta() 249 ni->ni_associd, ni->ni_txpower, ni->ni_vlan); in _db_show_sta() 251 ni->ni_jointime, (unsigned long)(time_uptime - ni->ni_jointime), in _db_show_sta() 252 ni->ni_challenge); in _db_show_sta() 253 db_printf("\ties: data %p len %d\n", ni->ni_ies.data, ni->ni_ies.len); in _db_show_sta() [all …]
|
H A D | ieee80211_vht.c | 80 vht_recv_action_placeholder(struct ieee80211_node *ni, in vht_recv_action_placeholder() argument 86 ieee80211_note(ni->ni_vap, "%s: called; fc=0x%.2x/0x%.2x", in vht_recv_action_placeholder() 93 vht_send_action_placeholder(struct ieee80211_node *ni, in vht_send_action_placeholder() argument 98 ieee80211_note(ni->ni_vap, "%s: called; category=%d, action=%d", in vht_send_action_placeholder() 219 ieee80211_vht_node_init(struct ieee80211_node *ni) in ieee80211_vht_node_init() argument 222 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N, ni, in ieee80211_vht_node_init() 224 ni->ni_flags |= IEEE80211_NODE_VHT; in ieee80211_vht_node_init() 228 ieee80211_vht_node_cleanup(struct ieee80211_node *ni) in ieee80211_vht_node_cleanup() argument 231 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N, ni, in ieee80211_vht_node_cleanup() 233 ni->ni_flags &= ~IEEE80211_NODE_VHT; in ieee80211_vht_node_cleanup() [all …]
|
H A D | ieee80211_power.c | 130 ieee80211_node_psq_dequeue(struct ieee80211_node *ni, int *qlen) in ieee80211_node_psq_dequeue() argument 132 struct ieee80211_psq *psq = &ni->ni_psq; in ieee80211_node_psq_dequeue() 167 struct ieee80211_node *ni = (void *) m->m_pkthdr.rcvif; in psq_mfree() local 168 ieee80211_free_node(ni); in psq_mfree() 210 ieee80211_node_psq_drain(struct ieee80211_node *ni) in ieee80211_node_psq_drain() argument 212 return psq_drain(&ni->ni_psq); in ieee80211_node_psq_drain() 226 ieee80211_node_psq_age(struct ieee80211_node *ni) in ieee80211_node_psq_age() argument 228 struct ieee80211_psq *psq = &ni->ni_psq; in ieee80211_node_psq_age() 233 struct ieee80211vap *vap = ni->ni_vap; in ieee80211_node_psq_age() 243 IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni, in ieee80211_node_psq_age() [all …]
|
H A D | ieee80211_output.c | 122 struct ieee80211_node *ni) in ieee80211_vap_pkt_send_dest() argument 135 if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) && in ieee80211_vap_pkt_send_dest() 143 if (ieee80211_pwrsave(ni, m) != 0) in ieee80211_vap_pkt_send_dest() 145 ieee80211_free_node(ni); in ieee80211_vap_pkt_send_dest() 154 if (ieee80211_classify(ni, m)) { in ieee80211_vap_pkt_send_dest() 156 ni->ni_macaddr, NULL, in ieee80211_vap_pkt_send_dest() 161 ieee80211_free_node(ni); in ieee80211_vap_pkt_send_dest() 173 m->m_pkthdr.rcvif = (void *)ni; in ieee80211_vap_pkt_send_dest() 189 do_ampdu = ((ni->ni_flags & IEEE80211_NODE_AMPDU_TX) && in ieee80211_vap_pkt_send_dest() 192 do_amsdu = ((ni->ni_flags & IEEE80211_NODE_AMSDU_TX) && in ieee80211_vap_pkt_send_dest() [all …]
|
H A D | ieee80211_superg.c | 211 ieee80211_parse_ath(struct ieee80211_node *ni, uint8_t *ie) in ieee80211_parse_ath() argument 216 ni->ni_ath_flags = ath->ath_capability; in ieee80211_parse_ath() 217 ni->ni_ath_defkeyix = le16dec(&ath->ath_defkeyix); in ieee80211_parse_ath() 221 ieee80211_parse_athparams(struct ieee80211_node *ni, uint8_t *frm, in ieee80211_parse_athparams() argument 224 struct ieee80211vap *vap = ni->ni_vap; in ieee80211_parse_athparams() 237 capschanged = (ni->ni_ath_flags != ath->ath_capability); in ieee80211_parse_athparams() 239 if (capschanged || defkeyix != ni->ni_ath_defkeyix) { in ieee80211_parse_athparams() 240 ni->ni_ath_flags = ath->ath_capability; in ieee80211_parse_athparams() 241 ni->ni_ath_defkeyix = defkeyix; in ieee80211_parse_athparams() 242 IEEE80211_NOTE(vap, IEEE80211_MSG_SUPERG, ni, in ieee80211_parse_athparams() [all …]
|
H A D | ieee80211_ratectl.h | 78 struct ieee80211_node *ni; /* receiver */ member 98 void (*ir_node_stats)(struct ieee80211_node *ni, struct sbuf *s); 115 ieee80211_ratectl_node_init(struct ieee80211_node *ni) in ieee80211_ratectl_node_init() argument 117 const struct ieee80211vap *vap = ni->ni_vap; in ieee80211_ratectl_node_init() 119 vap->iv_rate->ir_node_init(ni); in ieee80211_ratectl_node_init() 123 ieee80211_ratectl_node_deinit(struct ieee80211_node *ni) in ieee80211_ratectl_node_deinit() argument 125 const struct ieee80211vap *vap = ni->ni_vap; in ieee80211_ratectl_node_deinit() 127 vap->iv_rate->ir_node_deinit(ni); in ieee80211_ratectl_node_deinit() 131 ieee80211_ratectl_rate(struct ieee80211_node *ni, void *arg, uint32_t iarg) in ieee80211_ratectl_rate() argument 133 const struct ieee80211vap *vap = ni->ni_vap; in ieee80211_ratectl_rate() [all …]
|
H A D | ieee80211_rssadapt.c | 173 rssadapt_node_init(struct ieee80211_node *ni) in rssadapt_node_init() argument 176 struct ieee80211vap *vap = ni->ni_vap; in rssadapt_node_init() 178 const struct ieee80211_rateset *rs = &ni->ni_rates; in rssadapt_node_init() 186 if (ni->ni_rctls == NULL) { in rssadapt_node_init() 187 ni->ni_rctls = ra = in rssadapt_node_init() 196 ra = ni->ni_rctls; in rssadapt_node_init() 206 ni->ni_txrate = rs->rs_rates[ra->ra_rix] & IEEE80211_RATE_VAL; in rssadapt_node_init() 209 IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, in rssadapt_node_init() 210 "RSSADAPT initial rate %d", ni->ni_txrate); in rssadapt_node_init() 214 rssadapt_node_deinit(struct ieee80211_node *ni) in rssadapt_node_deinit() argument [all …]
|
H A D | ieee80211_input.c | 63 ieee80211_process_mimo(struct ieee80211_node *ni, struct ieee80211_rx_stats *rx) in ieee80211_process_mimo() argument 74 IEEE80211_RSSI_LPF(ni->ni_mimo_rssi_ctl[i], rx->c_rssi_ctl[i]); in ieee80211_process_mimo() 75 IEEE80211_RSSI_LPF(ni->ni_mimo_rssi_ext[i], rx->c_rssi_ext[i]); in ieee80211_process_mimo() 80 ni->ni_mimo_noise_ctl[i] = rx->c_nf_ctl[i]; in ieee80211_process_mimo() 81 ni->ni_mimo_noise_ext[i] = rx->c_nf_ext[i]; in ieee80211_process_mimo() 83 ni->ni_mimo_chains = rx->c_chain; in ieee80211_process_mimo() 87 ieee80211_input_mimo(struct ieee80211_node *ni, struct mbuf *m) in ieee80211_input_mimo() argument 97 ieee80211_process_mimo(ni, &rxs); in ieee80211_input_mimo() 99 //return ieee80211_input(ni, m, rx->rssi, rx->nf); in ieee80211_input_mimo() 100 return ni->ni_vap->iv_input(ni, m, &rxs, rxs.c_rssi, rxs.c_nf); in ieee80211_input_mimo() [all …]
|
H A D | ieee80211_ioctl.c | 77 struct ieee80211_node *ni; in ieee80211_ioctl_getkey() local 91 ni = ieee80211_find_vap_node(&ic->ic_sta, vap, ik.ik_macaddr); in ieee80211_ioctl_getkey() 92 if (ni == NULL) in ieee80211_ioctl_getkey() 94 wk = &ni->ni_ucastkey; in ieee80211_ioctl_getkey() 100 ni = NULL; in ieee80211_ioctl_getkey() 124 if (ni != NULL) in ieee80211_ioctl_getkey() 125 ieee80211_free_node(ni); in ieee80211_ioctl_getkey() 157 struct ieee80211_node *ni; in ieee80211_ioctl_getwpaie() local 170 ni = ieee80211_find_vap_node(&vap->iv_ic->ic_sta, vap, wpaie->wpa_macaddr); in ieee80211_ioctl_getwpaie() 171 if (ni == NULL) { in ieee80211_ioctl_getwpaie() [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_tx.c | 61 struct ieee80211_node *ni; in rtwn_drain_mbufq() local 64 ni = (struct ieee80211_node *)m->m_pkthdr.rcvif; in rtwn_drain_mbufq() 66 ieee80211_free_node(ni); in rtwn_drain_mbufq() 109 rtwn_tx_data(struct rtwn_softc *sc, struct ieee80211_node *ni, in rtwn_tx_data() argument 112 const struct ieee80211_txparam *tp = ni->ni_txparms; in rtwn_tx_data() 114 struct ieee80211vap *vap = ni->ni_vap; in rtwn_tx_data() 141 (void) ieee80211_ratectl_rate(ni, NULL, 0); in rtwn_tx_data() 142 rate = ni->ni_txrate; in rtwn_tx_data() 144 if (ni->ni_flags & IEEE80211_NODE_HT) in rtwn_tx_data() 157 k = ieee80211_crypto_encap(ni, m); in rtwn_tx_data() [all …]
|
/freebsd/sys/dev/wtap/ |
H A D | if_wtap.c | 132 static int wtap_raw_xmit(struct ieee80211_node *ni, struct mbuf *m, 147 wtap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, in wtap_recv_mgmt() argument 150 struct ieee80211vap *vap = ni->ni_vap; in wtap_recv_mgmt() 153 DWTAP_PRINTF("[%d] %s\n", myath_id(ni), __func__); in wtap_recv_mgmt() 159 WTAP_VAP(vap)->av_recv_mgmt(ni, m, subtype, stats, rssi, nf); in wtap_recv_mgmt() 166 ieee80211_ibss_merge_check(ni)) { in wtap_recv_mgmt() 179 if (le64toh(ni->ni_tstamp.tsf) >= tsf) in wtap_recv_mgmt() 180 (void) ieee80211_ibss_merge(ni); in wtap_recv_mgmt() 207 wtap_beacon_alloc(struct wtap_softc *sc, struct ieee80211_node *ni) in wtap_beacon_alloc() argument 209 struct ieee80211vap *vap = ni in wtap_beacon_alloc() 283 struct ieee80211_node *ni = NULL; wtap_newstate() local 368 struct ieee80211_node *ni; wtap_vap_create() local 461 wtap_raw_xmit(struct ieee80211_node * ni,struct mbuf * m,const struct ieee80211_bpf_params * params) wtap_raw_xmit() argument 499 struct ieee80211_node *ni; wtap_rx_proc() local 558 wtap_newassoc(struct ieee80211_node * ni,int isnew) wtap_newassoc() argument 592 struct ieee80211_node *ni = wtap_transmit() local 612 struct ieee80211_node *ni; wtap_node_alloc() local 626 wtap_node_free(struct ieee80211_node * ni) wtap_node_free() argument [all...] |
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_80211.c | 158 lkpi_sta_sync_ht_from_ni(struct ieee80211_sta *sta, struct ieee80211_node *ni, int *ht_rx_nss) in lkpi_sta_sync_ht_from_ni() argument 165 if ((ni->ni_flags & IEEE80211_NODE_HT) == 0) in lkpi_sta_sync_ht_from_ni() 168 if (IEEE80211_IS_CHAN_HT(ni->ni_chan) && in lkpi_sta_sync_ht_from_ni() 169 IEEE80211_IS_CHAN_HT40(ni->ni_chan)) in lkpi_sta_sync_ht_from_ni() 175 vap = ni->ni_vap; in lkpi_sta_sync_ht_from_ni() 176 …sta->deflink.ht_cap.ampdu_density = _IEEE80211_MASKSHIFT(ni->ni_htparam, IEEE80211_HTCAP_MPDUDENSI… in lkpi_sta_sync_ht_from_ni() 179 …sta->deflink.ht_cap.ampdu_factor = _IEEE80211_MASKSHIFT(ni->ni_htparam, IEEE80211_HTCAP_MAXRXAMPDU… in lkpi_sta_sync_ht_from_ni() 183 ie = ni->ni_ies.htcap_ie; in lkpi_sta_sync_ht_from_ni() 184 KASSERT(ie != NULL, ("%s: HT but no htcap_ie on ni %p\n", __func__, ni)); in lkpi_sta_sync_ht_from_ni() 206 lkpi_sta_sync_vht_from_ni(struct ieee80211_sta *sta, struct ieee80211_node *ni, int *vht_rx_nss) in lkpi_sta_sync_vht_from_ni() argument [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-ripng.c | 91 const struct netinfo6 *ni, const u_int print_metric) in rip6_entry_print() argument 96 ND_PRINT("%s/%u", GET_IP6ADDR_STRING(ni->rip6_dest), in rip6_entry_print() 97 GET_U_1(ni->rip6_plen)); in rip6_entry_print() 98 tag = GET_BE_U_2(ni->rip6_tag); in rip6_entry_print() 101 metric = GET_U_1(ni->rip6_metric); in rip6_entry_print() 111 const struct netinfo6 *ni; in ripng_print() local 130 j = length_left / sizeof(*ni); in ripng_print() 138 if (j * sizeof(*ni) != length_left) in ripng_print() 142 for (ni = rp->rip6_nets; length_left >= sizeof(*ni); in ripng_print() 143 length_left -= sizeof(*ni), ++ni) { in ripng_print() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | sem_new.c | 144 struct sem_nameinfo *ni; in _sem_open() local 148 ni = NULL; in _sem_open() 177 LIST_FOREACH(ni, &sem_list, next) { in _sem_open() 178 if (ni->name != NULL && strcmp(name, ni->name) == 0) { in _sem_open() 182 ni = NULL; in _sem_open() 186 O_EXCL) || ni->dev != sb.st_dev || in _sem_open() 187 ni->ino != sb.st_ino) { in _sem_open() 188 ni->name = NULL; in _sem_open() 189 ni = NULL; in _sem_open() 192 ni->open_count++; in _sem_open() [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | armv4-mont.pl | 305 my ($Bi,$Ni,$M0)=map("d$_",(28..31)); 343 vshl.i64 $Ni,@ACC[0]#hi,#16 346 vadd.u64 $Ni,$Ni,@ACC[0]#lo 348 vmul.u32 $Ni,$Ni,$M0 354 vzip.16 $Ni,$zero 357 vmlal.u32 @ACC[0],$Ni,${N0}[0] 359 vmlal.u32 @ACC[1],$Ni,${N0}[1] 360 vmlal.u32 @ACC[2],$Ni,${N1}[0] 361 vmlal.u32 @ACC[3],$Ni,${N1}[1] 363 vmlal.u32 @ACC[4],$Ni,${N2}[0] [all …]
|
/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a_tx.c | 70 r12a_tx_set_ht40(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni) in r12a_tx_set_ht40() argument 75 if (ni->ni_chan != IEEE80211_CHAN_ANYC && in r12a_tx_set_ht40() 76 IEEE80211_IS_CHAN_HT40(ni->ni_chan)) { in r12a_tx_set_ht40() 79 prim_chan = r12a_get_primary_channel(sc, ni->ni_chan); in r12a_tx_set_ht40() 125 struct ieee80211_node *ni, int ismcast) in r12a_tx_raid() argument 128 struct ieee80211vap *vap = ni->ni_vap; in r12a_tx_raid() 133 chan = (ni->ni_chan != IEEE80211_CHAN_ANYC) ? in r12a_tx_raid() 134 ni->ni_chan : ic->ic_curchan; in r12a_tx_raid() 138 if (ismcast || !(ni->ni_flags & IEEE80211_NODE_HT)) { in r12a_tx_raid() 199 r12a_tx_set_sgi(struct rtwn_softc *sc, void *buf, struct ieee80211_node *ni) in r12a_tx_set_sgi() argument [all …]
|
/freebsd/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 224 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate) in ath_rate_update() argument 226 struct ath_node *an = ATH_NODE(ni); in ath_rate_update() 228 struct ieee80211vap *vap = ni->ni_vap; in ath_rate_update() 234 IEEE80211_NOTE(vap, IEEE80211_MSG_RATECTL, ni, in ath_rate_update() 236 ni->ni_rates.rs_nrates > 0 ? in ath_rate_update() 237 (ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL) / 2 : 0); in ath_rate_update() 247 if (ni->ni_rates.rs_nrates > 0) { in ath_rate_update() 248 ni->ni_txrate = ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL; in ath_rate_update() 249 amn->amn_tx_rix0 = sc->sc_rixmap[ni->ni_txrate]; in ath_rate_update() 260 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL]; in ath_rate_update() [all …]
|