Searched defs:sta_id (Results 1 - 24 of 24) sorted by relevance

/drivers/net/wireless/iwmc3200wifi/
H A Dtx.c459 u8 *dst_addr, sta_id; local
493 for (sta_id = 0; sta_id < IWM_STA_TABLE_NUM; sta_id++) {
494 sta_info = &iwm->sta_table[sta_id];
500 if (sta_id == IWM_STA_TABLE_NUM) {
507 tx_info->sta = sta_id;
H A Dcommands.c952 u8 sta_id = STA_ID_N_COLOR_ID(ntf->sta_id); local
955 sta_info = &iwm->sta_table[sta_id];
957 IWM_ERR(iwm, "Invalid STA: %d\n", sta_id);
965 stp_res_cmd.sta_id = ntf->sta_id;
H A Drx.c728 sta = &iwm->sta_table[GET_VAL8(umac_sta->sta_id, LMAC_STA_ID)];
733 GET_VAL8(umac_sta->sta_id, LMAC_STA_ID),
734 GET_VAL8(umac_sta->sta_id, LMAC_STA_COLOR),
740 sta->color = GET_VAL8(umac_sta->sta_id, LMAC_STA_COLOR);
746 GET_VAL8(umac_sta->sta_id, LMAC_STA_ID),
747 GET_VAL8(umac_sta->sta_id, LMAC_STA_COLOR),
750 sta = &iwm->sta_table[GET_VAL8(umac_sta->sta_id, LMAC_STA_ID)];
1128 u8 sta_id = STA_ID_N_COLOR_ID(stp_res_tx->sta_id); local
1137 stp_res_tx->flags, stp_res_tx->sta_id,
[all...]
H A Dcommands.h455 u8 sta_id; member in struct:iwm_umac_cmd_stop_resume_tx
H A Dumac.h583 u8 sta_id; /* bits 0-3: station ID, bits 4-7: station color */ member in struct:iwm_umac_notif_sta_info
771 u8 sta_id; member in struct:iwm_umac_notif_stop_resume_tx
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-tx.c60 struct ieee80211_hdr *hdr, u8 sta_id)
85 tx_cmd->sta_id = sta_id;
252 * iwl_sta_id_or_broadcast - return sta_id or broadcast sta
264 int sta_id; local
269 sta_id = iwl_sta_id(sta);
275 WARN_ON(sta_id == IWL_INVALID_STATION);
277 return sta_id;
294 u8 sta_id, tid = IWL_MAX_TID_COUNT; local
333 sta_id
56 iwlagn_tx_cmd_build_basic(struct iwl_priv *priv, struct sk_buff *skb, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, struct ieee80211_hdr *hdr, u8 sta_id) argument
471 int sta_id; local
525 iwl_trans_tx_agg_disable(trans(priv), sta_id, tid); local
536 int sta_id; local
649 iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid) argument
669 iwl_trans_tx_agg_disable(trans(priv), sta_id, tid); local
824 int sta_id = (tx_resp->ra_tid & IWLAGN_TX_RES_RA_MSK) >> local
1020 int sta_id; local
1151 int sta_id; local
[all...]
H A Diwl-agn-sta.c37 static int iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) argument
41 if (sta_id >= IWLAGN_STATION_COUNT) {
42 IWL_ERR(priv, "invalid sta_id %u", sta_id);
45 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE))
48 sta_id, priv->stations[sta_id].sta.sta.addr);
50 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) {
54 sta_id, priv->stations[sta_id]
68 u8 sta_id = addsta->sta.sta_id; local
226 u8 sta_id = iwl_sta_id(sta); local
272 u8 sta_id = IWL_INVALID_STATION; local
359 u8 sta_id; local
414 iwl_sta_ucode_deactivate(struct iwl_priv *priv, u8 sta_id) argument
430 iwl_send_remove_station(struct iwl_priv *priv, const u8 *addr, int sta_id, bool temporary) argument
488 iwl_remove_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument
549 iwl_deactivate_station(struct iwl_priv *priv, const u8 sta_id, const u8 *addr) argument
844 iwl_sta_fill_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id, struct iwl_link_quality_cmd *link_cmd) argument
895 iwl_sta_alloc_lq(struct iwl_priv *priv, struct iwl_rxon_context *ctx, u8 sta_id) argument
921 u8 sta_id; local
1111 iwlagn_send_sta_key(struct iwl_priv *priv, struct ieee80211_key_conf *keyconf, u8 sta_id, u32 tkip_iv32, u16 *tkip_p1k, u32 cmd_flags) argument
1169 u8 sta_id = iwlagn_key_sta_id(priv, vif, sta); local
1190 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); local
1240 u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); local
1301 u8 sta_id; local
1340 u8 sta_id = ctx->bcast_sta_id; local
1376 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) argument
1396 int sta_id; local
1420 int sta_id; local
1444 iwl_sta_modify_sleep_tx_count(struct iwl_priv *priv, int sta_id, int cnt) argument
[all...]
H A Diwl-trans-pcie-tx.c94 u8 sta_id = 0; local
104 sta_id = tx_cmd->sta_id;
119 bc_ent = cpu_to_le16((len & 0xFFF) | (sta_id << 12));
399 u8 sta_id = 0; local
407 sta_id = tx_cmd->sta_id;
409 bc_ent = cpu_to_le16(1 | (sta_id << 12));
517 enum iwl_rxon_context_id ctx, int sta_id,
527 if (WARN_ON(sta_id
516 iwl_trans_pcie_tx_agg_setup(struct iwl_trans *trans, enum iwl_rxon_context_id ctx, int sta_id, int tid, int frame_limit, u16 ssn) argument
612 iwl_trans_pcie_tx_agg_alloc(struct iwl_trans *trans, int sta_id, int tid) argument
630 iwl_trans_pcie_tx_agg_disable(struct iwl_trans *trans, int sta_id, int tid) argument
[all...]
H A Diwl-mac80211.c701 u8 sta_id; local
705 sta_priv->sta_id = IWL_INVALID_STATION;
712 is_ap, sta, &sta_id);
720 sta_priv->sta_id = sta_id;
742 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr);
744 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr);
1518 static void iwl_sta_modify_ps_wake(struct iwl_priv *priv, int sta_id) argument
1523 .sta.sta_id = sta_id,
1536 int sta_id; local
[all...]
H A Diwl-trans-pcie-int.h203 * @sta_id: valid if sched_retry is set
225 u16 sta_id; member in struct:iwl_tx_queue
335 int sta_id, int tid);
340 int iwl_trans_pcie_tx_agg_alloc(struct iwl_trans *trans, int sta_id, int tid);
343 int sta_id, int tid, int frame_limit, u16 ssn);
H A Diwl-trans.h365 u8 sta_id, u8 tid);
366 int (*reclaim)(struct iwl_trans *trans, int sta_id, int tid,
370 int sta_id, int tid);
372 int sta_id, int tid);
374 enum iwl_rxon_context_id ctx, int sta_id, int tid,
512 u8 sta_id, u8 tid)
517 return trans->ops->tx(trans, skb, dev_cmd, ctx, sta_id, tid);
520 static inline int iwl_trans_reclaim(struct iwl_trans *trans, int sta_id, argument
527 return trans->ops->reclaim(trans, sta_id, tid, txq_id, ssn, skbs);
531 int sta_id, in
510 iwl_trans_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_cmd *dev_cmd, enum iwl_rxon_context_id ctx, u8 sta_id, u8 tid) argument
530 iwl_trans_tx_agg_disable(struct iwl_trans *trans, int sta_id, int tid) argument
539 iwl_trans_tx_agg_alloc(struct iwl_trans *trans, int sta_id, int tid) argument
549 iwl_trans_tx_agg_setup(struct iwl_trans *trans, enum iwl_rxon_context_id ctx, int sta_id, int tid, int frame_limit, u16 ssn) argument
[all...]
H A Diwl-agn-rs.c362 IWL_DEBUG_RATE(priv, "sta_id %d rate 0x%X\n",
363 lq_sta->lq.sta_id, lq_sta->dbg_fixed_rate);
2276 tid_data = &priv->tid_data[lq_sta->lq.sta_id][tid];
2647 u8 sta_id = lq_sta->lq.sta_id; local
2648 tid_data = &priv->tid_data[sta_id][tid];
2729 priv->stations[lq_sta->lq.sta_id].lq = &lq_sta->lq;
2821 void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 sta_id) argument
2836 lq_sta->lq.sta_id = sta_id;
[all...]
H A Diwl-trans-pcie.c1332 u8 sta_id, u8 tid)
1375 txq_id = trans_pcie->agg_txq[sta_id][tid];
1571 static int iwl_trans_pcie_reclaim(struct iwl_trans *trans, int sta_id, int tid, argument
1586 txq_id != trans_pcie->agg_txq[sta_id][tid])) {
1594 "agg_txq[sta_id[tid] %d", txq_id,
1595 trans_pcie->agg_txq[sta_id][tid]);
1330 iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb, struct iwl_device_cmd *dev_cmd, enum iwl_rxon_context_id ctx, u8 sta_id, u8 tid) argument
H A Diwl-dev.h281 u8 sta_id; member in struct:iwl_station_priv
H A Diwl-commands.h810 #define BUILD_RAxTID(sta_id, tid) (((sta_id) << 4) + (tid))
829 * @sta_id: index of station in uCode's station table
841 u8 sta_id; member in struct:sta_id_modify
1247 u8 sta_id; member in struct:iwl_tx_cmd
1458 u8 ra_tid; /* tid (0:3), sta_id (4:7) */
1487 u8 sta_id; member in struct:iwl_compressed_ba_resp
1782 u8 sta_id; member in struct:iwl_link_quality_cmd
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c335 il3945_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id) argument
345 if (sta_id == il->hw_params.bcast_id)
390 il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS;
911 il3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id) argument
924 sta = ieee80211_find_sta(il->vif, il->stations[sta_id].sta.sta.addr);
H A D3945.c676 struct ieee80211_hdr *hdr, int sta_id)
715 "cck/ofdm mask: 0x%x/0x%x\n", sta_id, tx_cmd->rate,
721 il3945_sync_sta(struct il_priv *il, int sta_id, u16 tx_rate) argument
726 if (sta_id == IL_INVALID_STATION)
730 station = &il->stations[sta_id];
738 D_RATE("SCALE sync station %d to rate %d\n", sta_id, tx_rate);
739 return sta_id;
2251 u8 sta_id; local
2257 ret = il_add_station_common(il, addr, 0, NULL, &sta_id);
2264 *sta_id_r = sta_id;
674 il3945_hw_build_tx_cmd_rate(struct il_priv *il, struct il_device_cmd *cmd, struct ieee80211_tx_info *info, struct ieee80211_hdr *hdr, int sta_id) argument
[all...]
H A D4965-rs.c1784 tid_data = &il->stations[lq_sta->lq.sta_id].tid[tid];
2115 &il->stations[lq_sta->lq.sta_id].tid[tid];
2195 il->stations[lq_sta->lq.sta_id].lq = &lq_sta->lq;
2291 il4965_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id) argument
2305 lq_sta->lq.sta_id = sta_id;
2320 sta_id);
2577 D_RATE("sta_id %d rate 0x%X\n", lq_sta->lq.sta_id,
2607 desc += sprintf(buff + desc, "sta_id
[all...]
H A D3945-mac.c134 struct ieee80211_key_conf *keyconf, u8 sta_id)
143 if (sta_id == il->hw_params.bcast_id)
151 il->stations[sta_id].keyinfo.cipher = keyconf->cipher;
152 il->stations[sta_id].keyinfo.keylen = keyconf->keylen;
153 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen);
155 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
157 if ((il->stations[sta_id].sta.key.
159 il->stations[sta_id].sta.key.key_offset =
164 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
167 il->stations[sta_id]
133 il3945_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
181 il3945_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
188 il3945_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
195 il3945_clear_sta_key_info(struct il_priv *il, u8 sta_id) argument
215 il3945_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
365 il3945_build_tx_cmd_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_device_cmd *cmd, struct sk_buff *skb_frag, int sta_id) argument
478 u8 sta_id; local
2335 u8 sta_id; local
2926 u8 sta_id = IL_INVALID_STATION; local
2992 u8 sta_id; local
[all...]
H A Dcommon.c1700 il_sta_ucode_activate(struct il_priv *il, u8 sta_id) argument
1703 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE))
1705 sta_id, il->stations[sta_id].sta.sta.addr);
1707 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) {
1709 " in uCode (according to driver)\n", sta_id,
1710 il->stations[sta_id].sta.sta.addr);
1712 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE;
1713 D_ASSOC("Added STA id %u addr %pM to uCode\n", sta_id,
1714 il->stations[sta_id]
1722 u8 sta_id = addsta->sta.sta_id; local
1890 u8 sta_id = IL_INVALID_STATION; local
1975 u8 sta_id; local
2032 il_sta_ucode_deactivate(struct il_priv *il, u8 sta_id) argument
2047 il_send_remove_station(struct il_priv *il, const u8 * addr, int sta_id, bool temporary) argument
2106 il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr) argument
[all...]
H A D4965-mac.c919 scan->tx_cmd.sta_id = il->hw_params.bcast_id;
1040 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) argument
1044 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed)
1045 il->stations[sta_id].tid[tid].tfds_in_queue -= freed;
1048 il->stations[sta_id].tid[tid].tfds_in_queue, freed);
1049 il->stations[sta_id].tid[tid].tfds_in_queue = 0;
1499 tx_cmd->sta_id = std_id;
1590 int sta_id)
1652 u8 sta_id; local
1680 sta_id
1588 il4965_tx_cmd_build_hwcrypto(struct il_priv *il, struct ieee80211_tx_info *info, struct il_tx_cmd *tx_cmd, struct sk_buff *skb_frag, int sta_id) argument
2135 il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, int tid, u16 ssn_idx) argument
2204 int sta_id; local
2300 int tx_fifo_id, txq_id, sta_id, ssn; local
2375 il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id) argument
2756 int sta_id; local
2884 int sta_id; local
2994 il4965_sta_alloc_lq(struct il_priv *il, u8 sta_id) argument
3054 u8 sta_id; local
3199 il4965_set_wep_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
3253 il4965_set_ccmp_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
3301 il4965_set_tkip_dynamic_key_info(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
3349 u8 sta_id; local
3380 il4965_remove_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
3441 il4965_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf, u8 sta_id) argument
3488 u8 sta_id; local
3528 u8 sta_id = il->hw_params.bcast_id; local
3557 il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid) argument
3581 int sta_id; local
3607 int sta_id; local
3631 il4965_sta_modify_sleep_tx_count(struct il_priv *il, int sta_id, int cnt) argument
5866 u8 sta_id; local
5979 u8 sta_id; local
[all...]
H A Dcommands.h897 #define BUILD_RAxTID(sta_id, tid) (((sta_id) << 4) + (tid))
912 * @sta_id: idx of station in uCode's station table
924 u8 sta_id; member in struct:sta_id_modify
1386 u8 sta_id; member in struct:il3945_tx_cmd
1475 u8 sta_id; member in struct:il_tx_cmd
1733 u8 sta_id; member in struct:il_compressed_ba_resp
2067 u8 sta_id; member in struct:il_link_quality_cmd
H A Dcommon.h732 u8 sta_id; member in struct:il_station_priv_common
2137 int il_remove_station(struct il_priv *il, const u8 sta_id, const u8 * addr);
2174 return ((struct il_station_priv_common *)sta->drv_priv)->sta_id;
2178 * il_sta_id_or_broadcast - return sta_id or broadcast sta
2191 int sta_id; local
2196 sta_id = il_sta_id(sta);
2202 WARN_ON(sta_id == IL_INVALID_STATION);
2204 return sta_id;
2857 extern void il3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id);
2861 u8 sta_id);
[all...]
/drivers/net/wireless/orinoco/
H A Dhw.c76 struct comp_id nic_id, sta_id; local
104 err = HERMES_READ_RECORD(hw, USER_BAP, HERMES_RID_STAID, &sta_id);
111 le16_to_cpus(&sta_id.id);
112 le16_to_cpus(&sta_id.variant);
113 le16_to_cpus(&sta_id.major);
114 le16_to_cpus(&sta_id.minor);
116 sta_id.id, sta_id.variant, sta_id.major, sta_id
[all...]

Completed in 359 milliseconds