Home
last modified time | relevance | path

Searched refs:sta_id (Results 1 – 20 of 20) sorted by relevance

/drivers/net/wireless/iwlwifi/
Diwl-sta.c83 static void iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) in iwl_sta_ucode_activate() argument
89 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
90 IWL_ERROR("ACTIVATE a non DRIVER active station %d\n", sta_id); in iwl_sta_ucode_activate()
92 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
94 priv->stations[sta_id].sta.sta.addr); in iwl_sta_ucode_activate()
105 u8 sta_id = addsta->sta.sta_id; in iwl_add_sta_callback() local
121 iwl_sta_ucode_activate(priv, sta_id); in iwl_add_sta_callback()
166 iwl_sta_ucode_activate(priv, sta->sta.sta_id); in iwl_send_add_sta()
234 int sta_id = IWL_INVALID_STATION; in iwl_add_station_flags() local
240 sta_id = IWL_AP_ID; in iwl_add_station_flags()
[all …]
Diwl-tx.c670 tx_cmd->sta_id = std_id; in iwl_tx_cmd_build_basic()
708 __le16 fc, int sta_id, in iwl_tx_cmd_build_rate() argument
771 int sta_id) in iwl_tx_cmd_build_hwcrypto() argument
838 u8 sta_id; in iwl_tx_skb() local
884 sta_id = iwl_get_sta_id(priv, hdr); in iwl_tx_skb()
885 if (sta_id == IWL_INVALID_STATION) { in iwl_tx_skb()
891 IWL_DEBUG_TX("station Id %d\n", sta_id); in iwl_tx_skb()
898 seq_number = priv->stations[sta_id].tid[tid].seq_number; in iwl_tx_skb()
906 txq_id = priv->stations[sta_id].tid[tid].agg.txq_id; in iwl_tx_skb()
907 priv->stations[sta_id].tid[tid].tfds_in_queue++; in iwl_tx_skb()
[all …]
Diwl-sta.h47 struct ieee80211_key_conf *key, u8 sta_id);
49 struct ieee80211_key_conf *key, u8 sta_id);
62 void iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
Diwl-5000.c918 u8 sta_id = 0; in iwl5000_txq_update_byte_cnt_tbl() local
925 sta_id = txq->cmd[txq->q.write_ptr]->cmd.tx.sta_id; in iwl5000_txq_update_byte_cnt_tbl()
941 bc_ent = cpu_to_le16((len & 0xFFF) | (sta_id << 12)); in iwl5000_txq_update_byte_cnt_tbl()
956 u8 sta_id = 0; in iwl5000_txq_inval_byte_cnt_tbl() local
962 sta_id = txq->cmd[read_ptr]->cmd.tx.sta_id; in iwl5000_txq_inval_byte_cnt_tbl()
964 bc_ent = cpu_to_le16(1 | (sta_id << 12)); in iwl5000_txq_inval_byte_cnt_tbl()
1006 int tx_fifo, int sta_id, int tid, u16 ssn_idx) in iwl5000_txq_agg_enable() argument
1020 ra_tid = BUILD_RAxTID(sta_id, tid); in iwl5000_txq_agg_enable()
1023 iwl_sta_tx_modify_enable_tid(priv, sta_id, tid); in iwl5000_txq_agg_enable()
1253 int sta_id; in iwl5000_rx_reply_tx() local
[all …]
Diwl-3945-rs.c674 u8 sta_id = iwl3945_hw_find_station(priv, hdr->addr1); in rs_get_rate() local
676 if (sta_id == IWL_INVALID_STATION) { in rs_get_rate()
679 sta_id = iwl3945_add_station(priv, in rs_get_rate()
682 if (sta_id != IWL_INVALID_STATION) in rs_get_rate()
878 void iwl3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id) in iwl3945_rate_scale_init() argument
891 sta = ieee80211_find_sta(hw, priv->stations[sta_id].sta.sta.addr); in iwl3945_rate_scale_init()
Diwl-agn-rs.c2057 if ((lq_sta->lq.sta_id == 0xff) && in rs_initialize_lq()
2129 u8 sta_id = iwl_find_station(priv, hdr->addr1); in rs_get_rate() local
2131 if (sta_id == IWL_INVALID_STATION) { in rs_get_rate()
2134 sta_id = iwl_add_station_flags(priv, hdr->addr1, in rs_get_rate()
2137 if ((sta_id != IWL_INVALID_STATION)) { in rs_get_rate()
2138 lq_sta->lq.sta_id = sta_id; in rs_get_rate()
2167 lq_sta->lq.sta_id = 0xff; in rs_alloc_sta()
2200 u8 sta_id = iwl_find_station(priv, sta->addr); in rs_rate_init() local
2205 if (sta_id == IWL_INVALID_STATION) { in rs_rate_init()
2207 sta_id = iwl_add_station_flags(priv, sta->addr, in rs_rate_init()
[all …]
Diwl-4965.c1903 int tx_fifo, int sta_id, int tid, u16 ssn_idx) in iwl4965_txq_agg_enable() argument
1917 ra_tid = BUILD_RAxTID(sta_id, tid); in iwl4965_txq_agg_enable()
1920 iwl_sta_tx_modify_enable_tid(priv, sta_id, tid); in iwl4965_txq_agg_enable()
2127 int sta_id; in iwl4965_rx_reply_tx() local
2148 sta_id = iwl_get_ra_sta_id(priv, hdr); in iwl4965_rx_reply_tx()
2149 if (txq->sched_retry && unlikely(sta_id == IWL_INVALID_STATION)) { in iwl4965_rx_reply_tx()
2160 agg = &priv->stations[sta_id].tid[tid].agg; in iwl4965_rx_reply_tx()
2173 priv->stations[sta_id].tid[tid].tfds_in_queue -= freed; in iwl4965_rx_reply_tx()
2201 if (qc && likely(sta_id != IWL_INVALID_STATION)) in iwl4965_rx_reply_tx()
2202 priv->stations[sta_id].tid[tid].tfds_in_queue -= freed; in iwl4965_rx_reply_tx()
[all …]
Diwl3945-base.c452 station->sta.sta.sta_id = index; in iwl3945_add_station()
1303 u8 sta_id) in iwl3945_update_sta_key_info() argument
1321 priv->stations[sta_id].keyinfo.alg = keyconf->alg; in iwl3945_update_sta_key_info()
1322 priv->stations[sta_id].keyinfo.keylen = keyconf->keylen; in iwl3945_update_sta_key_info()
1323 memcpy(priv->stations[sta_id].keyinfo.key, keyconf->key, in iwl3945_update_sta_key_info()
1326 memcpy(priv->stations[sta_id].sta.key.key, keyconf->key, in iwl3945_update_sta_key_info()
1328 priv->stations[sta_id].sta.key.key_flags = key_flags; in iwl3945_update_sta_key_info()
1329 priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK; in iwl3945_update_sta_key_info()
1330 priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK; in iwl3945_update_sta_key_info()
1335 iwl3945_send_add_station(priv, &priv->stations[sta_id].sta, 0); in iwl3945_update_sta_key_info()
[all …]
Diwl-3945.c830 struct ieee80211_hdr *hdr, int sta_id, int tx_id) in iwl3945_hw_build_tx_cmd_rate() argument
851 priv->stations[sta_id].current_rate.rate_n_flags = rate; in iwl3945_hw_build_tx_cmd_rate()
854 (sta_id != priv->hw_setting.bcast_sta_id) && in iwl3945_hw_build_tx_cmd_rate()
855 (sta_id != IWL_MULTICAST_ID)) in iwl3945_hw_build_tx_cmd_rate()
904 "cck/ofdm mask: 0x%x/0x%x\n", sta_id, in iwl3945_hw_build_tx_cmd_rate()
909 u8 iwl3945_sync_sta(struct iwl3945_priv *priv, int sta_id, u16 tx_rate, u8 flags) in iwl3945_sync_sta() argument
914 if (sta_id == IWL_INVALID_STATION) in iwl3945_sync_sta()
918 station = &priv->stations[sta_id]; in iwl3945_sync_sta()
929 sta_id, tx_rate); in iwl3945_sync_sta()
930 return sta_id; in iwl3945_sync_sta()
[all …]
Diwl-commands.h833 #define BUILD_RAxTID(sta_id, tid) (((sta_id) << 4) + (tid)) argument
874 u8 sta_id; member
1280 u8 sta_id; member
1574 u8 sta_id; member
1858 u8 sta_id; member
Diwl-3945.h600 extern u8 iwl3945_sync_station(struct iwl3945_priv *priv, int sta_id,
642 int sta_id, int tx_id);
669 extern u8 iwl3945_sync_sta(struct iwl3945_priv *priv, int sta_id,
Diwl-core.h115 int sta_id, int tid, u16 ssn_idx);
260 int iwl_txq_check_empty(struct iwl_priv *priv, int sta_id, u8 tid, int txq_id);
Diwl-3945-rs.h184 extern void iwl3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id);
Diwl-3945-commands.h581 u8 sta_id; member
843 u8 sta_id; member
Diwl-agn.c423 tx_beacon_cmd->tx.sta_id = priv->hw_params.bcast_sta_id; in iwl_hw_get_beacon_cmd()
3027 u8 sta_id = IWL_INVALID_STATION; in iwl_mac_set_key() local
3041 sta_id = iwl_find_station(priv, addr); in iwl_mac_set_key()
3042 if (sta_id == IWL_INVALID_STATION) { in iwl_mac_set_key()
3057 if (key->alg == ALG_WEP && sta_id == priv->hw_params.bcast_sta_id && in iwl_mac_set_key()
3071 ret = iwl_set_dynamic_key(priv, key, sta_id); in iwl_mac_set_key()
3079 ret = iwl_remove_dynamic_key(priv, key, sta_id); in iwl_mac_set_key()
Diwl-debugfs.c246 station->sta.sta.sta_id); in iwl_dbgfs_stations_read()
Diwl-scan.c751 scan->tx_cmd.sta_id = priv->hw_params.bcast_sta_id; in iwl_bg_request_scan()
/drivers/staging/agnx/
Dsta.c7 void hash_read(struct agnx_priv *priv, u32 reghi, u32 reglo, u8 sta_id) in hash_read() argument
14 reglo |= sta_id << 16; in hash_read()
25 void hash_write(struct agnx_priv *priv, u8 *mac_addr, u8 sta_id) in hash_write() argument
37 reglo |= sta_id << 16; in hash_write()
48 void hash_delete(struct agnx_priv *priv, u32 reghi, u32 reglo, u8 sta_id) in hash_delete() argument
55 reglo |= sta_id << 16; in hash_delete()
67 void hash_dump(struct agnx_priv *priv, u8 sta_id) in hash_dump() argument
75 iowrite32(sta_id << 16, ctl + AGNX_RXM_HASH_DUMP_DATA); in hash_dump()
Dsta.h204 void hash_write(struct agnx_priv *priv, u8 *mac_addr, u8 sta_id);
205 void hash_dump(struct agnx_priv *priv, u8 sta_id);
206 void hash_read(struct agnx_priv *priv, u32 reghi, u32 reglo, u8 sta_id);
207 void hash_delete(struct agnx_priv *priv, u32 reghi, u32 reglo, u8 sta_id);
/drivers/net/wireless/orinoco/
Dorinoco.c3200 struct comp_id nic_id, sta_id; in determine_firmware() local
3223 err = HERMES_READ_RECORD(hw, USER_BAP, HERMES_RID_STAID, &sta_id); in determine_firmware()
3230 le16_to_cpus(&sta_id.id); in determine_firmware()
3231 le16_to_cpus(&sta_id.variant); in determine_firmware()
3232 le16_to_cpus(&sta_id.major); in determine_firmware()
3233 le16_to_cpus(&sta_id.minor); in determine_firmware()
3235 dev->name, sta_id.id, sta_id.variant, in determine_firmware()
3236 sta_id.major, sta_id.minor); in determine_firmware()
3238 switch (sta_id.id) { in determine_firmware()
3275 "Lucent/Agere %d.%02d", sta_id.major, sta_id.minor); in determine_firmware()
[all …]