Lines Matching refs:sta

1541 			 struct ieee80211_sta *sta,
1576 rate_idx = rate_lowest_index(&il->bands[info->band], sta);
1644 struct ieee80211_sta *sta,
1694 sta_id = il_sta_id_or_broadcast(il, sta);
1704 if (sta)
1705 sta_priv = (void *)sta->drv_priv;
1743 /* aggregation is on for this <sta,tid> */
1799 il4965_tx_cmd_build_rate(il, tx_cmd, info, sta, fc);
2214 struct ieee80211_sta *sta, u16 tid, u16 * ssn)
2228 D_HT("%s on ra = %pM tid = %d\n", __func__, sta->addr, tid);
2230 sta_id = il_sta_id(sta);
2310 struct ieee80211_sta *sta, u16 tid)
2322 sta_id = il_sta_id(sta);
2381 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
2390 u8 *addr = il->stations[sta_id].sta.sta.addr;
2425 struct ieee80211_sta *sta;
2429 sta = ieee80211_find_sta(il->vif, addr1);
2430 if (sta) {
2431 sta_priv = (void *)sta->drv_priv;
2435 ieee80211_sta_block_awake(il->hw, sta, false);
2580 ether_addr_equal(il->stations[i].sta.sta.addr, addr)) {
2596 IL_ERR("Requested station info for sta %d before ready.\n",
3254 memcpy(&il->stations[sta_id].sta.key.key[3], keyconf->key,
3257 if ((il->stations[sta_id].sta.key.
3259 il->stations[sta_id].sta.key.key_offset =
3264 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
3267 il->stations[sta_id].sta.key.key_flags = key_flags;
3268 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
3269 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3271 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3303 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
3305 if ((il->stations[sta_id].sta.key.
3307 il->stations[sta_id].sta.key.key_offset =
3312 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
3315 il->stations[sta_id].sta.key.key_flags = key_flags;
3316 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
3317 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3319 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3348 if ((il->stations[sta_id].sta.key.
3350 il->stations[sta_id].sta.key.key_offset =
3355 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
3358 il->stations[sta_id].sta.key.key_flags = key_flags;
3363 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, 16);
3372 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key)
3384 sta_id = il_sta_id_or_broadcast(il, sta);
3390 il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32;
3393 il->stations[sta_id].sta.key.tkip_rx_ttak[i] =
3396 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
3397 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3399 il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC);
3418 key_flags = le16_to_cpu(il->stations[sta_id].sta.key.key_flags);
3421 D_WEP("Remove dynamic key: idx=%d sta=%d\n", keyconf->keyidx, sta_id);
3433 if (il->stations[sta_id].sta.key.key_flags & STA_KEY_FLG_INVALID) {
3441 (il->stations[sta_id].sta.key.key_offset, &il->ucode_key_table))
3443 il->stations[sta_id].sta.key.key_offset);
3445 memset(&il->stations[sta_id].sta.key, 0, sizeof(struct il4965_keyinfo));
3446 il->stations[sta_id].sta.key.key_flags =
3448 il->stations[sta_id].sta.key.key_offset = keyconf->hw_key_idx;
3449 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
3450 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3458 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3495 D_WEP("Set dynamic key: cipher=%x len=%d idx=%d sta=%d ret=%d\n",
3557 IL_ERR("Unable to initialize rate scaling for bcast sta.\n");
3565 D_INFO("Bcast sta rate scaling has not been initialized.\n");
3591 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_TID_DISABLE_TX;
3592 il->stations[sta_id].sta.tid_disable_tx &= cpu_to_le16(~(1 << tid));
3593 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3594 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3602 il4965_sta_rx_agg_start(struct il_priv *il, struct ieee80211_sta *sta, int tid,
3611 sta_id = il_sta_id(sta);
3616 il->stations[sta_id].sta.station_flags_msk = 0;
3617 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_ADDBA_TID_MSK;
3618 il->stations[sta_id].sta.add_immediate_ba_tid = (u8) tid;
3619 il->stations[sta_id].sta.add_immediate_ba_ssn = cpu_to_le16(ssn);
3620 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3621 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3629 il4965_sta_rx_agg_stop(struct il_priv *il, struct ieee80211_sta *sta, int tid)
3637 sta_id = il_sta_id(sta);
3644 il->stations[sta_id].sta.station_flags_msk = 0;
3645 il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_DELBA_TID_MSK;
3646 il->stations[sta_id].sta.remove_immediate_ba_tid = (u8) tid;
3647 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3648 memcpy(&sta_cmd, &il->stations[sta_id].sta,
3661 il->stations[sta_id].sta.station_flags |= STA_FLG_PWR_SAVE_MSK;
3662 il->stations[sta_id].sta.station_flags_msk = STA_FLG_PWR_SAVE_MSK;
3663 il->stations[sta_id].sta.sta.modify_mask =
3665 il->stations[sta_id].sta.sleep_tx_count = cpu_to_le16(cnt);
3666 il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
3667 il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC);
5858 if (il4965_tx_skb(il, control->sta, skb))
5867 struct ieee80211_sta *sta, u32 iv32, u16 * phase1key)
5873 il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key);
5880 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
5905 sta_id = il_sta_id_or_broadcast(il, sta);
5919 key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) {
5960 struct ieee80211_sta *sta = params->sta;
5965 D_HT("A-MPDU action on addr %pM tid %d\n", sta->addr, tid);
5975 ret = il4965_sta_rx_agg_start(il, sta, tid, *ssn);
5979 ret = il4965_sta_rx_agg_stop(il, sta, tid);
5985 ret = il4965_tx_agg_start(il, vif, sta, tid, ssn);
5991 ret = il4965_tx_agg_stop(il, vif, sta, tid);
6006 struct ieee80211_sta *sta)
6009 struct il_station_priv *sta_priv = (void *)sta->drv_priv;
6014 D_INFO("received request to add station %pM\n", sta->addr);
6016 D_INFO("proceeding to add station %pM\n", sta->addr);
6022 il_add_station_common(il, sta->addr, is_ap, sta, &sta_id);
6024 IL_ERR("Unable to add station %pM (%d)\n", sta->addr, ret);
6033 D_INFO("Initializing rate scaling for station %pM\n", sta->addr);
6034 il4965_rs_rate_init(il, sta, sta_id);