sta               188 arch/mips/include/asm/octeon/cvmx-pci-defs.h 		uint32_t sta:1;
sta               228 arch/mips/include/asm/octeon/cvmx-pci-defs.h 		uint32_t sta:1;
sta                61 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h 		__BITFIELD_FIELD(uint32_t sta:1,
sta               307 arch/powerpc/platforms/pasemi/dma_lib.c 	u32 sta;
sta               313 arch/powerpc/platforms/pasemi/dma_lib.c 			sta = pasemi_read_dma_reg(reg);
sta               314 arch/powerpc/platforms/pasemi/dma_lib.c 			if (!(sta & PAS_DMA_RXCHAN_CCMDSTA_ACT)) {
sta               324 arch/powerpc/platforms/pasemi/dma_lib.c 			sta = pasemi_read_dma_reg(reg);
sta               325 arch/powerpc/platforms/pasemi/dma_lib.c 			if (!(sta & PAS_DMA_TXCHAN_TCMDSTA_ACT)) {
sta               185 drivers/acpi/acpi_processor.c 	unsigned long long sta;
sta               192 drivers/acpi/acpi_processor.c 	status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta);
sta               193 drivers/acpi/acpi_processor.c 	if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_PRESENT))
sta                79 drivers/acpi/bus.c 				       unsigned long long *sta)
sta                83 drivers/acpi/bus.c 	status = acpi_evaluate_integer(handle, "_STA", NULL, sta);
sta                88 drivers/acpi/bus.c 		*sta = ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED |
sta                99 drivers/acpi/bus.c 	unsigned long long sta;
sta               112 drivers/acpi/bus.c 	status = acpi_bus_get_status_handle(device->handle, &sta);
sta               116 drivers/acpi/bus.c 	acpi_set_device_status(device, sta);
sta               121 drivers/acpi/bus.c 			device->pnp.bus_id, (u32)sta));
sta               125 drivers/acpi/bus.c 			  device->pnp.bus_id, (u32)sta));
sta               499 drivers/acpi/device_sysfs.c 	unsigned long long sta;
sta               501 drivers/acpi/device_sysfs.c 	status = acpi_evaluate_integer(acpi_dev->handle, "_STA", NULL, &sta);
sta               505 drivers/acpi/device_sysfs.c 	return sprintf(buf, "%llu\n", sta);
sta               211 drivers/acpi/dock.c 	unsigned long long sta;
sta               215 drivers/acpi/dock.c 		status = acpi_evaluate_integer(ds->handle, "_STA", NULL, &sta);
sta               216 drivers/acpi/dock.c 		if (ACPI_SUCCESS(status) && sta)
sta                91 drivers/acpi/glue.c 	unsigned long long sta;
sta                94 drivers/acpi/glue.c 	status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta);
sta                97 drivers/acpi/glue.c 	else if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_ENABLED))
sta               108 drivers/acpi/internal.h 			     int type, unsigned long long sta);
sta                48 drivers/acpi/pci_slot.c 	unsigned long long adr, sta;
sta                57 drivers/acpi/pci_slot.c 		status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
sta                58 drivers/acpi/pci_slot.c 		if (ACPI_SUCCESS(status) && !(sta & ACPI_STA_DEVICE_PRESENT))
sta               185 drivers/acpi/power.c 	unsigned long long sta = 0;
sta               193 drivers/acpi/power.c 	status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
sta               197 drivers/acpi/power.c 	*state = (sta & 0x01)?ACPI_POWER_RESOURCE_STATE_ON:
sta               257 drivers/acpi/scan.c 	unsigned long long sta;
sta               288 drivers/acpi/scan.c 	status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
sta               292 drivers/acpi/scan.c 	} else if (sta & ACPI_STA_DEVICE_ENABLED) {
sta               294 drivers/acpi/scan.c 			"Eject incomplete - status 0x%llx\n", sta);
sta              1586 drivers/acpi/scan.c 			     int type, unsigned long long sta)
sta              1593 drivers/acpi/scan.c 	acpi_set_device_status(device, sta);
sta              1618 drivers/acpi/scan.c 				  unsigned long long sta)
sta              1630 drivers/acpi/scan.c 	acpi_init_device_object(device, handle, type, sta);
sta              1696 drivers/acpi/scan.c 				    unsigned long long *sta)
sta              1716 drivers/acpi/scan.c 		*sta = ACPI_STA_DEFAULT;
sta              1720 drivers/acpi/scan.c 		status = acpi_bus_get_status_handle(handle, sta);
sta              1726 drivers/acpi/scan.c 		*sta = ACPI_STA_DEFAULT;
sta              1730 drivers/acpi/scan.c 		*sta = ACPI_STA_DEFAULT;
sta              1867 drivers/acpi/scan.c 	unsigned long long sta;
sta              1874 drivers/acpi/scan.c 	result = acpi_bus_type_and_status(handle, &type, &sta);
sta              1883 drivers/acpi/scan.c 	acpi_add_single_object(&device, handle, type, sta);
sta                48 drivers/edac/octeon_edac-pci.c 	if (cfg01.s.sta) {
sta                50 drivers/edac/octeon_edac-pci.c 		cfg01.s.sta = 1;		/* Reset */
sta               452 drivers/gpio/gpio-bcm-kona.c 	unsigned long sta;
sta               466 drivers/gpio/gpio-bcm-kona.c 	while ((sta = readl(reg_base + GPIO_INT_STATUS(bank_id)) &
sta               468 drivers/gpio/gpio-bcm-kona.c 		for_each_set_bit(bit, &sta, 32) {
sta               377 drivers/gpio/gpio-tegra.c 	unsigned long sta;
sta               386 drivers/gpio/gpio-tegra.c 		sta = tegra_gpio_readl(tgi, GPIO_INT_STA(tgi, gpio)) &
sta               390 drivers/gpio/gpio-tegra.c 		for_each_set_bit(pin, &sta, 8) {
sta               789 drivers/gpu/drm/i2c/tda998x_drv.c 	u8 sta, cec, lvl, flag0, flag1, flag2;
sta               792 drivers/gpu/drm/i2c/tda998x_drv.c 	sta = cec_read(priv, REG_CEC_INTSTATUS);
sta               793 drivers/gpu/drm/i2c/tda998x_drv.c 	if (sta & CEC_INTSTATUS_HDMI) {
sta               801 drivers/gpu/drm/i2c/tda998x_drv.c 			sta, cec, lvl, flag0, flag1, flag2);
sta              1288 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 	char msg[128], src[128], sta[128];
sta              1315 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 		nvkm_snprintbf(sta, sizeof(sta), nv04_gr_nstatus, nstatus);
sta              1319 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c 			   show, msg, nsource, src, nstatus, sta, chid,
sta              1096 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 	char msg[128], src[128], sta[128];
sta              1123 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 		nvkm_snprintbf(sta, sizeof(sta), nv10_gr_nstatus, nstatus);
sta              1127 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c 			   show, msg, nsource, src, nstatus, sta, chid,
sta               196 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 	char msg[128], src[128], sta[128];
sta               207 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 		nvkm_snprintbf(sta, sizeof(sta), nv10_gr_nstatus, nstatus);
sta               211 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c 			   show, msg, nsource, src, nstatus, sta, chid,
sta               248 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 	char msg[128], src[128], sta[128];
sta               273 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 		nvkm_snprintbf(sta, sizeof(sta), nv10_gr_nstatus, nstatus);
sta               277 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c 			   show, msg, nsource, src, nstatus, sta,
sta                56 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta                58 drivers/i2c/algos/i2c-algo-pca.c 	sta |= I2C_PCA_CON_STA;
sta                59 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI);
sta                60 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta                71 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta                73 drivers/i2c/algos/i2c-algo-pca.c 	sta |= I2C_PCA_CON_STA;
sta                74 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_SI);
sta                75 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta                90 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta                92 drivers/i2c/algos/i2c-algo-pca.c 	sta |= I2C_PCA_CON_STO;
sta                93 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STA|I2C_PCA_CON_SI);
sta                94 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta               105 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta               113 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_STA|I2C_PCA_CON_SI);
sta               114 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta               127 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta               131 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_STA|I2C_PCA_CON_SI);
sta               132 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta               157 drivers/i2c/algos/i2c-algo-pca.c 	int sta = pca_get_con(adap);
sta               159 drivers/i2c/algos/i2c-algo-pca.c 	sta &= ~(I2C_PCA_CON_STO|I2C_PCA_CON_STA|I2C_PCA_CON_SI|I2C_PCA_CON_AA);
sta               162 drivers/i2c/algos/i2c-algo-pca.c 		sta |= I2C_PCA_CON_AA;
sta               164 drivers/i2c/algos/i2c-algo-pca.c 	pca_set_con(adap, sta);
sta               371 drivers/i2c/busses/i2c-st.c 	u32 sta;
sta               375 drivers/i2c/busses/i2c-st.c 		sta = readl_relaxed(i2c_dev->base + SSC_STA);
sta               376 drivers/i2c/busses/i2c-st.c 		if (!(sta & SSC_STA_BUSY))
sta               382 drivers/i2c/busses/i2c-st.c 	dev_err(i2c_dev->dev, "bus not free (status = 0x%08x)\n", sta);
sta               415 drivers/i2c/busses/i2c-st.c 	u32 tx_fstat, sta;
sta               418 drivers/i2c/busses/i2c-st.c 	sta = readl_relaxed(i2c_dev->base + SSC_STA);
sta               419 drivers/i2c/busses/i2c-st.c 	if (sta & SSC_STA_TX_FIFO_FULL)
sta               445 drivers/i2c/busses/i2c-st.c 	u32 tx_fstat, sta;
sta               448 drivers/i2c/busses/i2c-st.c 	sta = readl_relaxed(i2c_dev->base + SSC_STA);
sta               449 drivers/i2c/busses/i2c-st.c 	if (sta & SSC_STA_TX_FIFO_FULL)
sta               467 drivers/i2c/busses/i2c-st.c 	u32 i, sta;
sta               470 drivers/i2c/busses/i2c-st.c 	sta = readl_relaxed(i2c_dev->base + SSC_STA);
sta               471 drivers/i2c/busses/i2c-st.c 	if (sta & SSC_STA_RIR) {
sta               569 drivers/i2c/busses/i2c-st.c 	u32 sta, ien;
sta               573 drivers/i2c/busses/i2c-st.c 	sta = readl_relaxed(i2c_dev->base + SSC_STA);
sta               576 drivers/i2c/busses/i2c-st.c 	it = __fls(sta & ien);
sta               579 drivers/i2c/busses/i2c-st.c 				sta, ien);
sta               625 drivers/i2c/busses/i2c-st.c 				"it %d unhandled (sta=0x%04x)\n", it, sta);
sta               207 drivers/mailbox/mtk-cmdq-mailbox.c static void cmdq_task_exec_done(struct cmdq_task *task, enum cmdq_cb_status sta)
sta               213 drivers/mailbox/mtk-cmdq-mailbox.c 	data.sta = sta;
sta              1153 drivers/mtd/devices/st_spi_fsm.c 	uint8_t sta;
sta              1186 drivers/mtd/devices/st_spi_fsm.c 	stfsm_read_status(fsm, SPINOR_OP_RDSR, &sta, 1);
sta              1189 drivers/mtd/devices/st_spi_fsm.c 		if (!(sta & MX25_STATUS_QE)) {
sta              1191 drivers/mtd/devices/st_spi_fsm.c 			sta |= MX25_STATUS_QE;
sta              1193 drivers/mtd/devices/st_spi_fsm.c 			stfsm_write_status(fsm, SPINOR_OP_WRSR, sta, 1, 1);
sta              1196 drivers/mtd/devices/st_spi_fsm.c 		if (sta & MX25_STATUS_QE) {
sta              1198 drivers/mtd/devices/st_spi_fsm.c 			sta &= ~MX25_STATUS_QE;
sta              1200 drivers/mtd/devices/st_spi_fsm.c 			stfsm_write_status(fsm, SPINOR_OP_WRSR, sta, 1, 1);
sta              1076 drivers/mtd/nand/raw/mtk_nand.c 	u16 sta, ien;
sta              1078 drivers/mtd/nand/raw/mtk_nand.c 	sta = nfi_readw(nfc, NFI_INTR_STA);
sta              1081 drivers/mtd/nand/raw/mtk_nand.c 	if (!(sta & ien))
sta              1084 drivers/mtd/nand/raw/mtk_nand.c 	nfi_writew(nfc, ~sta & ien, NFI_INTR_EN);
sta                39 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	__le16 sta;
sta               115 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	if (hnae3_get_bit(le16_to_cpu(mdio_cmd->sta), HCLGE_MDIO_STA_B)) {
sta              1214 drivers/net/ethernet/pasemi/pasemi_mac.c 	unsigned int sta, retries;
sta              1221 drivers/net/ethernet/pasemi/pasemi_mac.c 		sta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch));
sta              1222 drivers/net/ethernet/pasemi/pasemi_mac.c 		if (!(sta & PAS_DMA_TXCHAN_TCMDSTA_ACT))
sta              1227 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & PAS_DMA_TXCHAN_TCMDSTA_ACT)
sta              1229 drivers/net/ethernet/pasemi/pasemi_mac.c 			"Failed to stop tx channel, tcmdsta %08x\n", sta);
sta              1236 drivers/net/ethernet/pasemi/pasemi_mac.c 	unsigned int sta, retries;
sta              1242 drivers/net/ethernet/pasemi/pasemi_mac.c 		sta = read_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(rxch));
sta              1243 drivers/net/ethernet/pasemi/pasemi_mac.c 		if (!(sta & PAS_DMA_RXCHAN_CCMDSTA_ACT))
sta              1248 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & PAS_DMA_RXCHAN_CCMDSTA_ACT)
sta              1250 drivers/net/ethernet/pasemi/pasemi_mac.c 			"Failed to stop rx channel, ccmdsta 08%x\n", sta);
sta              1256 drivers/net/ethernet/pasemi/pasemi_mac.c 	unsigned int sta, retries;
sta              1261 drivers/net/ethernet/pasemi/pasemi_mac.c 		sta = read_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if));
sta              1262 drivers/net/ethernet/pasemi/pasemi_mac.c 		if (!(sta & PAS_DMA_RXINT_RCMDSTA_ACT))
sta              1267 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & PAS_DMA_RXINT_RCMDSTA_ACT)
sta              1269 drivers/net/ethernet/pasemi/pasemi_mac.c 			"Failed to stop rx interface, rcmdsta %08x\n", sta);
sta              1276 drivers/net/ethernet/pasemi/pasemi_mac.c 	unsigned int sta;
sta              1292 drivers/net/ethernet/pasemi/pasemi_mac.c 	sta = read_dma_reg(PAS_DMA_RXINT_RCMDSTA(mac->dma_if));
sta              1293 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & (PAS_DMA_RXINT_RCMDSTA_BP |
sta              1296 drivers/net/ethernet/pasemi/pasemi_mac.c 		printk(KERN_DEBUG "pasemi_mac: rcmdsta error: 0x%08x\n", sta);
sta              1298 drivers/net/ethernet/pasemi/pasemi_mac.c 	sta = read_dma_reg(PAS_DMA_RXCHAN_CCMDSTA(rxch));
sta              1299 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & (PAS_DMA_RXCHAN_CCMDSTA_DU |
sta              1303 drivers/net/ethernet/pasemi/pasemi_mac.c 		printk(KERN_DEBUG "pasemi_mac: ccmdsta error: 0x%08x\n", sta);
sta              1305 drivers/net/ethernet/pasemi/pasemi_mac.c 	sta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch));
sta              1306 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (sta & (PAS_DMA_TXCHAN_TCMDSTA_SZ | PAS_DMA_TXCHAN_TCMDSTA_DB |
sta              1308 drivers/net/ethernet/pasemi/pasemi_mac.c 		printk(KERN_DEBUG "pasemi_mac: tcmdsta error: 0x%08x\n", sta);
sta               425 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	u32 sta;
sta               432 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	sta = (((u32)addr[2]) << 24) | (((u32)addr[3]) << 16) |
sta               434 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	writel(sta, adpt->base + EMAC_MAC_STA_ADDR0);
sta               437 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	sta = (((u32)addr[0]) << 8) | (u32)addr[1];
sta               438 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	writel(sta, adpt->base + EMAC_MAC_STA_ADDR1);
sta               134 drivers/net/fjes/fjes_main.c 	unsigned long long sta;
sta               137 drivers/net/fjes/fjes_main.c 	status = acpi_evaluate_integer(device->handle, "_STA", NULL, &sta);
sta               141 drivers/net/fjes/fjes_main.c 	if (!((sta & ACPI_STA_DEVICE_PRESENT) &&
sta               142 drivers/net/fjes/fjes_main.c 	      (sta & ACPI_STA_DEVICE_ENABLED) &&
sta               143 drivers/net/fjes/fjes_main.c 	      (sta & ACPI_STA_DEVICE_UI) &&
sta               144 drivers/net/fjes/fjes_main.c 	      (sta & ACPI_STA_DEVICE_FUNCTIONING)))
sta              1150 drivers/net/wireless/ath/ar5523/ar5523.c 	struct ieee80211_sta *sta;
sta              1154 drivers/net/wireless/ath/ar5523/ar5523.c 	sta = ieee80211_find_sta(ar->vif, bss_conf->bssid);
sta              1155 drivers/net/wireless/ath/ar5523/ar5523.c 	if (!sta) {
sta              1159 drivers/net/wireless/ath/ar5523/ar5523.c 	sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band];
sta              1187 drivers/net/wireless/ath/ar5523/ar5523.c 	struct ieee80211_sta *sta;
sta              1191 drivers/net/wireless/ath/ar5523/ar5523.c 	sta = ieee80211_find_sta(ar->vif, bss_conf->bssid);
sta              1193 drivers/net/wireless/ath/ar5523/ar5523.c 	if (!sta) {
sta              1197 drivers/net/wireless/ath/ar5523/ar5523.c 		sta_rate_set = sta->supp_rates[ar->hw->conf.chandef.chan->band];
sta               203 drivers/net/wireless/ath/ath.h 			  struct ieee80211_sta *sta,
sta               394 drivers/net/wireless/ath/ath10k/core.h 	struct ieee80211_sta *sta;
sta               560 drivers/net/wireless/ath/ath10k/core.h 		} sta;
sta              2397 drivers/net/wireless/ath/ath10k/debug.c 					 struct ieee80211_sta *sta)
sta              2400 drivers/net/wireless/ath/ath10k/debug.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               204 drivers/net/wireless/ath/ath10k/debug.h 			    struct ieee80211_sta *sta, struct dentry *dir);
sta                63 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	if (!peer || !peer->sta)
sta                66 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	arsta = (struct ath10k_sta *)peer->sta->drv_priv;
sta                86 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta;
sta               105 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	sta = ieee80211_find_sta_by_ifaddr(ar->hw, hdr->addr2, NULL);
sta               106 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	if (!sta)
sta               109 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	arsta = (struct ath10k_sta *)sta->drv_priv;
sta               132 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta;
sta               137 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer->peer_macaddr,
sta               139 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		if (!sta)
sta               141 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		arsta = (struct ath10k_sta *)sta->drv_priv;
sta               151 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta;
sta               156 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer->peer_macaddr,
sta               158 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		if (!sta)
sta               160 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		arsta = (struct ath10k_sta *)sta->drv_priv;
sta               179 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               180 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               198 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               199 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               217 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr);
sta               241 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               242 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               268 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr,
sta               272 drivers/net/wireless/ath/ath10k/debugfs_sta.c 			    arsta->arvif->vdev_id, sta->addr, tid, buf_size);
sta               292 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               293 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               319 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = ath10k_wmi_addba_set_resp(ar, arsta->arvif->vdev_id, sta->addr,
sta               323 drivers/net/wireless/ath/ath10k/debugfs_sta.c 			    arsta->arvif->vdev_id, sta->addr, tid, status);
sta               342 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               343 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               369 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = ath10k_wmi_delba_send(ar, arsta->arvif->vdev_id, sta->addr,
sta               373 drivers/net/wireless/ath/ath10k/debugfs_sta.c 			    arsta->arvif->vdev_id, sta->addr, tid, initiator,
sta               394 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               395 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               413 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               414 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               432 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	ret = ath10k_wmi_peer_set_param(ar, arsta->arvif->vdev_id, sta->addr,
sta               456 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               457 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               566 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               567 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               649 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ieee80211_sta *sta = file->private_data;
sta               650 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta               758 drivers/net/wireless/ath/ath10k/debugfs_sta.c 			    struct ieee80211_sta *sta, struct dentry *dir)
sta               762 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("aggr_mode", 0644, dir, sta, &fops_aggr_mode);
sta               763 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("addba", 0200, dir, sta, &fops_addba);
sta               764 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("addba_resp", 0200, dir, sta, &fops_addba_resp);
sta               765 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("delba", 0200, dir, sta, &fops_delba);
sta               766 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("peer_debug_trigger", 0600, dir, sta,
sta               768 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("dump_tid_stats", 0400, dir, sta,
sta               773 drivers/net/wireless/ath/ath10k/debugfs_sta.c 		debugfs_create_file("tx_stats", 0400, dir, sta,
sta               775 drivers/net/wireless/ath/ath10k/debugfs_sta.c 	debugfs_create_file("peer_ps_state", 0400, dir, sta,
sta              2729 drivers/net/wireless/ath/ath10k/htt_rx.c 		if (!peer || !peer->sta) {
sta              2738 drivers/net/wireless/ath/ath10k/htt_rx.c 		ieee80211_sta_register_airtime(peer->sta, tid, tx_duration, 0);
sta              3452 drivers/net/wireless/ath/ath10k/htt_rx.c 				struct ieee80211_sta *sta,
sta              3455 drivers/net/wireless/ath/ath10k/htt_rx.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              3561 drivers/net/wireless/ath/ath10k/htt_rx.c 		ieee80211_tx_rate_update(ar->hw, sta, &arsta->tx_info);
sta              3575 drivers/net/wireless/ath/ath10k/htt_rx.c 	struct ieee80211_sta *sta;
sta              3595 drivers/net/wireless/ath/ath10k/htt_rx.c 	if (!peer || !peer->sta) {
sta              3601 drivers/net/wireless/ath/ath10k/htt_rx.c 	sta = peer->sta;
sta              3617 drivers/net/wireless/ath/ath10k/htt_rx.c 		ath10k_update_per_peer_tx_stats(ar, sta, p_tx_stats);
sta              3630 drivers/net/wireless/ath/ath10k/htt_rx.c 	struct ieee80211_sta *sta;
sta              3649 drivers/net/wireless/ath/ath10k/htt_rx.c 	if (!peer || !peer->sta) {
sta              3655 drivers/net/wireless/ath/ath10k/htt_rx.c 	sta = peer->sta;
sta              3669 drivers/net/wireless/ath/ath10k/htt_rx.c 		ath10k_update_per_peer_tx_stats(ar, sta, p_tx_stats);
sta                59 drivers/net/wireless/ath/ath10k/htt_tx.c 	if (txq->sta) {
sta                60 drivers/net/wireless/ath/ath10k/htt_tx.c 		arsta = (void *)txq->sta->drv_priv;
sta               718 drivers/net/wireless/ath/ath10k/mac.c 			      struct ieee80211_sta *sta,
sta               765 drivers/net/wireless/ath/ath10k/mac.c 	peer->sta = sta;
sta               921 drivers/net/wireless/ath/ath10k/mac.c 				       struct ieee80211_sta *sta,
sta               933 drivers/net/wireless/ath/ath10k/mac.c 	ether_addr_copy(arg.addr, sta->addr);
sta               935 drivers/net/wireless/ath/ath10k/mac.c 	cap.peer_max_sp = sta->max_sp;
sta               936 drivers/net/wireless/ath/ath10k/mac.c 	cap.peer_uapsd_queues = sta->uapsd_queues;
sta               939 drivers/net/wireless/ath/ath10k/mac.c 	    !sta->tdls_initiator)
sta              1849 drivers/net/wireless/ath/ath10k/mac.c 	if (arvif->u.sta.uapsd)
sta              1874 drivers/net/wireless/ath/ath10k/mac.c 	if (arvif->u.sta.uapsd)
sta              2145 drivers/net/wireless/ath/ath10k/mac.c 				      struct ieee80211_sta *sta,
sta              2156 drivers/net/wireless/ath/ath10k/mac.c 		aid = sta->aid;
sta              2158 drivers/net/wireless/ath/ath10k/mac.c 	ether_addr_copy(arg->addr, sta->addr);
sta              2169 drivers/net/wireless/ath/ath10k/mac.c 				       struct ieee80211_sta *sta,
sta              2212 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->mfp &&
sta              2221 drivers/net/wireless/ath/ath10k/mac.c 				      struct ieee80211_sta *sta,
sta              2241 drivers/net/wireless/ath/ath10k/mac.c 	ratemask = sta->supp_rates[band];
sta              2283 drivers/net/wireless/ath/ath10k/mac.c 				   struct ieee80211_sta *sta,
sta              2286 drivers/net/wireless/ath/ath10k/mac.c 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              2325 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth >= IEEE80211_STA_RX_BW_40) {
sta              2378 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss);
sta              2389 drivers/net/wireless/ath/ath10k/mac.c 				    struct ieee80211_sta *sta)
sta              2397 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->wme && sta->uapsd_queues) {
sta              2399 drivers/net/wireless/ath/ath10k/mac.c 			   sta->uapsd_queues, sta->max_sp);
sta              2401 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO)
sta              2404 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI)
sta              2407 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK)
sta              2410 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE)
sta              2414 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->max_sp < MAX_WMI_AP_PS_PEER_PARAM_MAX_SP)
sta              2415 drivers/net/wireless/ath/ath10k/mac.c 			max_sp = sta->max_sp;
sta              2418 drivers/net/wireless/ath/ath10k/mac.c 						 sta->addr,
sta              2428 drivers/net/wireless/ath/ath10k/mac.c 						 sta->addr,
sta              2442 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_wmi_set_ap_ps_param(ar, arvif->vdev_id, sta->addr,
sta              2508 drivers/net/wireless/ath/ath10k/mac.c 				    struct ieee80211_sta *sta,
sta              2511 drivers/net/wireless/ath/ath10k/mac.c 	const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta              2552 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_80)
sta              2555 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_160)
sta              2569 drivers/net/wireless/ath/ath10k/mac.c 	arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss);
sta              2580 drivers/net/wireless/ath/ath10k/mac.c 		   sta->addr, arg->peer_max_mpdu, arg->peer_flags);
sta              2583 drivers/net/wireless/ath/ath10k/mac.c 	    (sta->vht_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK)) {
sta              2599 drivers/net/wireless/ath/ath10k/mac.c 				    struct ieee80211_sta *sta,
sta              2606 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->wme)
sta              2609 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->wme && sta->uapsd_queues) {
sta              2615 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->wme)
sta              2619 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->wme)
sta              2627 drivers/net/wireless/ath/ath10k/mac.c 		   sta->addr, !!(arg->peer_flags &
sta              2631 drivers/net/wireless/ath/ath10k/mac.c static bool ath10k_mac_sta_has_ofdm_only(struct ieee80211_sta *sta)
sta              2633 drivers/net/wireless/ath/ath10k/mac.c 	return sta->supp_rates[NL80211_BAND_2GHZ] >>
sta              2638 drivers/net/wireless/ath/ath10k/mac.c 						    struct ieee80211_sta *sta)
sta              2640 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_160) {
sta              2641 drivers/net/wireless/ath/ath10k/mac.c 		switch (sta->vht_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) {
sta              2652 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_80)
sta              2655 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_40)
sta              2658 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->bandwidth == IEEE80211_STA_RX_BW_20)
sta              2666 drivers/net/wireless/ath/ath10k/mac.c 					struct ieee80211_sta *sta,
sta              2685 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->vht_cap.vht_supported &&
sta              2687 drivers/net/wireless/ath/ath10k/mac.c 			if (sta->bandwidth == IEEE80211_STA_RX_BW_40)
sta              2691 drivers/net/wireless/ath/ath10k/mac.c 		} else if (sta->ht_cap.ht_supported &&
sta              2693 drivers/net/wireless/ath/ath10k/mac.c 			if (sta->bandwidth == IEEE80211_STA_RX_BW_40)
sta              2697 drivers/net/wireless/ath/ath10k/mac.c 		} else if (ath10k_mac_sta_has_ofdm_only(sta)) {
sta              2708 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->vht_cap.vht_supported &&
sta              2710 drivers/net/wireless/ath/ath10k/mac.c 			phymode = ath10k_mac_get_phymode_vht(ar, sta);
sta              2711 drivers/net/wireless/ath/ath10k/mac.c 		} else if (sta->ht_cap.ht_supported &&
sta              2713 drivers/net/wireless/ath/ath10k/mac.c 			if (sta->bandwidth >= IEEE80211_STA_RX_BW_40)
sta              2727 drivers/net/wireless/ath/ath10k/mac.c 		   sta->addr, ath10k_wmi_phymode_str(phymode));
sta              2735 drivers/net/wireless/ath/ath10k/mac.c 				     struct ieee80211_sta *sta,
sta              2742 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_basic(ar, vif, sta, arg);
sta              2743 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_crypto(ar, vif, sta, arg);
sta              2744 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_rates(ar, vif, sta, arg);
sta              2745 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_ht(ar, vif, sta, arg);
sta              2746 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_vht(ar, vif, sta, arg);
sta              2747 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_qos(ar, vif, sta, arg);
sta              2748 drivers/net/wireless/ath/ath10k/mac.c 	ath10k_peer_assoc_h_phymode(ar, vif, sta, arg);
sta              2975 drivers/net/wireless/ath/ath10k/mac.c 				struct ieee80211_sta *sta,
sta              2984 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_peer_assoc_prepare(ar, vif, sta, &peer_arg);
sta              2987 drivers/net/wireless/ath/ath10k/mac.c 			    sta->addr, arvif->vdev_id, ret);
sta              2994 drivers/net/wireless/ath/ath10k/mac.c 			    sta->addr, arvif->vdev_id, ret);
sta              3002 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_setup_peer_smps(ar, arvif, sta->addr,
sta              3003 drivers/net/wireless/ath/ath10k/mac.c 					     &sta->ht_cap);
sta              3010 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_peer_assoc_qos_ap(ar, arvif, sta);
sta              3013 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              3017 drivers/net/wireless/ath/ath10k/mac.c 		if (!sta->wme) {
sta              3028 drivers/net/wireless/ath/ath10k/mac.c 		if ((arvif->def_wep_key_idx != -1) && (!sta->tdls)) {
sta              3029 drivers/net/wireless/ath/ath10k/mac.c 			ret = ath10k_install_peer_wep_keys(arvif, sta->addr);
sta              3043 drivers/net/wireless/ath/ath10k/mac.c 				   struct ieee80211_sta *sta)
sta              3050 drivers/net/wireless/ath/ath10k/mac.c 	if (!sta->wme) {
sta              3060 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_clear_peer_keys(arvif, sta->addr);
sta              3425 drivers/net/wireless/ath/ath10k/mac.c 			   struct ieee80211_sta *sta,
sta              3468 drivers/net/wireless/ath/ath10k/mac.c 	if (ieee80211_is_data_present(fc) && sta && sta->tdls)
sta              3783 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_sta *sta;
sta              3844 drivers/net/wireless/ath/ath10k/mac.c 			sta = ieee80211_find_sta(vif, peer_addr);
sta              3847 drivers/net/wireless/ath/ath10k/mac.c 			sta = NULL;
sta              3850 drivers/net/wireless/ath/ath10k/mac.c 		txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb);
sta              3973 drivers/net/wireless/ath/ath10k/mac.c 	if (peer->sta)
sta              3974 drivers/net/wireless/ath/ath10k/mac.c 		return peer->sta->txq[tid];
sta              4016 drivers/net/wireless/ath/ath10k/mac.c 	if (!txq || !txq->sta)
sta              4023 drivers/net/wireless/ath/ath10k/mac.c 	arsta = (struct ath10k_sta *)txq->sta->drv_priv;
sta              4053 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_sta *sta = txq->sta;
sta              4083 drivers/net/wireless/ath/ath10k/mac.c 	txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb);
sta              4338 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_sta *sta = control->sta;
sta              4352 drivers/net/wireless/ath/ath10k/mac.c 	txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb);
sta              5924 drivers/net/wireless/ath/ath10k/mac.c 						    struct ieee80211_sta *sta)
sta              5927 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              5930 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->tdls && sta_vif == iter_data->curr_vif)
sta              6106 drivers/net/wireless/ath/ath10k/mac.c 			  struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              6135 drivers/net/wireless/ath/ath10k/mac.c 	if (sta)
sta              6136 drivers/net/wireless/ath/ath10k/mac.c 		peer_addr = sta->addr;
sta              6208 drivers/net/wireless/ath/ath10k/mac.c 	if (is_wep && !sta && vif->type == NL80211_IFTYPE_STATION) {
sta              6242 drivers/net/wireless/ath/ath10k/mac.c 	if (sta && sta->tdls)
sta              6243 drivers/net/wireless/ath/ath10k/mac.c 		ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6290 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_sta *sta;
sta              6299 drivers/net/wireless/ath/ath10k/mac.c 	sta = container_of((void *)arsta, struct ieee80211_sta, drv_priv);
sta              6332 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr, bw, mode);
sta              6334 drivers/net/wireless/ath/ath10k/mac.c 		err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6338 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, mode, err);
sta              6342 drivers/net/wireless/ath/ath10k/mac.c 		err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6346 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, bw, err);
sta              6351 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr, nss);
sta              6353 drivers/net/wireless/ath/ath10k/mac.c 		err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6357 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, nss, err);
sta              6362 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr, smps);
sta              6364 drivers/net/wireless/ath/ath10k/mac.c 		err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6368 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, smps, err);
sta              6373 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr);
sta              6375 drivers/net/wireless/ath/ath10k/mac.c 		err = ath10k_station_assoc(ar, arvif->vif, sta, true);
sta              6378 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr);
sta              6386 drivers/net/wireless/ath/ath10k/mac.c 				       struct ieee80211_sta *sta)
sta              6392 drivers/net/wireless/ath/ath10k/mac.c 	if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls)
sta              6404 drivers/net/wireless/ath/ath10k/mac.c 					struct ieee80211_sta *sta)
sta              6410 drivers/net/wireless/ath/ath10k/mac.c 	if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls)
sta              6418 drivers/net/wireless/ath/ath10k/mac.c 				struct ieee80211_sta *sta)
sta              6425 drivers/net/wireless/ath/ath10k/mac.c 	if (sta->txpwr.type == NL80211_TX_POWER_AUTOMATIC) {
sta              6428 drivers/net/wireless/ath/ath10k/mac.c 		txpwr = sta->txpwr.power;
sta              6438 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              6453 drivers/net/wireless/ath/ath10k/mac.c 			    struct ieee80211_sta *sta,
sta              6459 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              6471 drivers/net/wireless/ath/ath10k/mac.c 		for (i = 0; i < ARRAY_SIZE(sta->txq); i++)
sta              6472 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_txq_init(sta->txq[i]);
sta              6492 drivers/net/wireless/ath/ath10k/mac.c 			   arvif->vdev_id, sta->addr,
sta              6498 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->tdls) {
sta              6509 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_mac_inc_num_stations(arvif, sta);
sta              6525 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_peer_create(ar, vif, sta, arvif->vdev_id,
sta              6526 drivers/net/wireless/ath/ath10k/mac.c 					 sta->addr, peer_type);
sta              6529 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6530 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_dec_num_stations(arvif, sta);
sta              6537 drivers/net/wireless/ath/ath10k/mac.c 		peer = ath10k_peer_find(ar, arvif->vdev_id, sta->addr);
sta              6542 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_peer_delete(ar, arvif->vdev_id, sta->addr);
sta              6543 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_dec_num_stations(arvif, sta);
sta              6554 drivers/net/wireless/ath/ath10k/mac.c 		if (!sta->tdls)
sta              6563 drivers/net/wireless/ath/ath10k/mac.c 					   sta->addr);
sta              6564 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_dec_num_stations(arvif, sta);
sta              6569 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id, sta,
sta              6574 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6575 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_peer_delete(ar, arvif->vdev_id, sta->addr);
sta              6576 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_dec_num_stations(arvif, sta);
sta              6591 drivers/net/wireless/ath/ath10k/mac.c 			   arvif->vdev_id, sta->addr, sta);
sta              6593 drivers/net/wireless/ath/ath10k/mac.c 		if (sta->tdls) {
sta              6595 drivers/net/wireless/ath/ath10k/mac.c 							  sta,
sta              6599 drivers/net/wireless/ath/ath10k/mac.c 					    sta->addr,
sta              6603 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_peer_delete(ar, arvif->vdev_id, sta->addr);
sta              6606 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6608 drivers/net/wireless/ath/ath10k/mac.c 		ath10k_mac_dec_num_stations(arvif, sta);
sta              6616 drivers/net/wireless/ath/ath10k/mac.c 			if (peer->sta == sta) {
sta              6618 drivers/net/wireless/ath/ath10k/mac.c 					    sta->addr, peer, i, arvif->vdev_id);
sta              6619 drivers/net/wireless/ath/ath10k/mac.c 				peer->sta = NULL;
sta              6637 drivers/net/wireless/ath/ath10k/mac.c 		for (i = 0; i < ARRAY_SIZE(sta->txq); i++)
sta              6638 drivers/net/wireless/ath/ath10k/mac.c 			ath10k_mac_txq_unref(ar, sta->txq[i]);
sta              6640 drivers/net/wireless/ath/ath10k/mac.c 		if (!sta->tdls)
sta              6662 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr);
sta              6664 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_station_assoc(ar, vif, sta, false);
sta              6667 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6670 drivers/net/wireless/ath/ath10k/mac.c 		   sta->tdls) {
sta              6675 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr);
sta              6677 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_station_assoc(ar, vif, sta, false);
sta              6680 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6684 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id, sta,
sta              6688 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6698 drivers/net/wireless/ath/ath10k/mac.c 			   sta->addr);
sta              6700 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_station_disassoc(ar, vif, sta);
sta              6703 drivers/net/wireless/ath/ath10k/mac.c 				    sta->addr, arvif->vdev_id, ret);
sta              6752 drivers/net/wireless/ath/ath10k/mac.c 		arvif->u.sta.uapsd |= value;
sta              6754 drivers/net/wireless/ath/ath10k/mac.c 		arvif->u.sta.uapsd &= ~value;
sta              6758 drivers/net/wireless/ath/ath10k/mac.c 					  arvif->u.sta.uapsd);
sta              6764 drivers/net/wireless/ath/ath10k/mac.c 	if (arvif->u.sta.uapsd)
sta              7412 drivers/net/wireless/ath/ath10k/mac.c 						  struct ieee80211_sta *sta)
sta              7418 drivers/net/wireless/ath/ath10k/mac.c 	if (!sta->vht_cap.vht_supported || arvif->vht_num_rates != 1)
sta              7421 drivers/net/wireless/ath/ath10k/mac.c 	err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              7425 drivers/net/wireless/ath/ath10k/mac.c 			    sta->addr, err);
sta              7431 drivers/net/wireless/ath/ath10k/mac.c 					     struct ieee80211_sta *sta)
sta              7434 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              7440 drivers/net/wireless/ath/ath10k/mac.c 	if (ath10k_mac_set_vht_bitrate_mask_fixup(ar, arvif, sta))
sta              7451 drivers/net/wireless/ath/ath10k/mac.c 					     struct ieee80211_sta *sta)
sta              7454 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              7459 drivers/net/wireless/ath/ath10k/mac.c 	if (arsta->arvif != arvif || !sta->vht_cap.vht_supported)
sta              7462 drivers/net/wireless/ath/ath10k/mac.c 	err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr,
sta              7467 drivers/net/wireless/ath/ath10k/mac.c 			    sta->addr, err);
sta              7582 drivers/net/wireless/ath/ath10k/mac.c 				 struct ieee80211_sta *sta,
sta              7586 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta              7593 drivers/net/wireless/ath/ath10k/mac.c 	peer = ath10k_peer_find(ar, arvif->vdev_id, sta->addr);
sta              7597 drivers/net/wireless/ath/ath10k/mac.c 			    sta->addr, arvif->vdev_id);
sta              7603 drivers/net/wireless/ath/ath10k/mac.c 		   sta->addr, changed, sta->bandwidth, sta->rx_nss,
sta              7604 drivers/net/wireless/ath/ath10k/mac.c 		   sta->smps_mode);
sta              7609 drivers/net/wireless/ath/ath10k/mac.c 		switch (sta->bandwidth) {
sta              7624 drivers/net/wireless/ath/ath10k/mac.c 				    sta->bandwidth, sta->addr);
sta              7633 drivers/net/wireless/ath/ath10k/mac.c 		arsta->nss = sta->rx_nss;
sta              7638 drivers/net/wireless/ath/ath10k/mac.c 		switch (sta->smps_mode) {
sta              7651 drivers/net/wireless/ath/ath10k/mac.c 				    sta->smps_mode, sta->addr);
sta              7696 drivers/net/wireless/ath/ath10k/mac.c 	struct ieee80211_sta *sta = params->sta;
sta              7701 drivers/net/wireless/ath/ath10k/mac.c 		   arvif->vdev_id, sta->addr, tid, action);
sta              8143 drivers/net/wireless/ath/ath10k/mac.c 					     struct ieee80211_sta *sta)
sta              8151 drivers/net/wireless/ath/ath10k/mac.c 		if (peer->sta == sta)
sta              8157 drivers/net/wireless/ath/ath10k/mac.c 				  struct ieee80211_sta *sta,
sta              8160 drivers/net/wireless/ath/ath10k/mac.c 	struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv;
sta                87 drivers/net/wireless/ath/ath10k/txrx.c 	if (txq && txq->sta && skb_cb->airtime_est)
sta                88 drivers/net/wireless/ath/ath10k/txrx.c 		ieee80211_sta_register_airtime(txq->sta, txq->tid,
sta              3421 drivers/net/wireless/ath/ath10k/wmi.c 	struct ieee80211_sta *sta;
sta              3436 drivers/net/wireless/ath/ath10k/wmi.c 	sta = ieee80211_find_sta_by_ifaddr(ar->hw, arg.mac_addr, NULL);
sta              3437 drivers/net/wireless/ath/ath10k/wmi.c 	if (!sta) {
sta              3443 drivers/net/wireless/ath/ath10k/wmi.c 	ieee80211_report_low_ack(sta, 10);
sta              5173 drivers/net/wireless/ath/ath10k/wmi.c 	struct ieee80211_sta *sta;
sta              5184 drivers/net/wireless/ath/ath10k/wmi.c 	sta = ieee80211_find_sta_by_ifaddr(ar->hw, peer_addr, NULL);
sta              5186 drivers/net/wireless/ath/ath10k/wmi.c 	if (!sta) {
sta              5192 drivers/net/wireless/ath/ath10k/wmi.c 	arsta = (struct ath10k_sta *)sta->drv_priv;
sta               757 drivers/net/wireless/ath/ath5k/base.c 	ieee80211_get_tx_rates(info->control.vif, (control) ? control->sta : NULL, skb, bf->rates,
sta               473 drivers/net/wireless/ath/ath5k/mac80211-ops.c 	      struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               511 drivers/net/wireless/ath/ath5k/mac80211-ops.c 		ret = ath_key_config(common, vif, sta, key);
sta                66 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl_sta *sta;
sta                71 drivers/net/wireless/ath/ath6kl/main.c 	sta = &ar->sta_list[free_slot];
sta                72 drivers/net/wireless/ath/ath6kl/main.c 	memcpy(sta->mac, mac, ETH_ALEN);
sta                74 drivers/net/wireless/ath/ath6kl/main.c 		memcpy(sta->wpa_ie, wpaie, ielen);
sta                75 drivers/net/wireless/ath/ath6kl/main.c 	sta->aid = aid;
sta                76 drivers/net/wireless/ath/ath6kl/main.c 	sta->keymgmt = keymgmt;
sta                77 drivers/net/wireless/ath/ath6kl/main.c 	sta->ucipher = ucipher;
sta                78 drivers/net/wireless/ath/ath6kl/main.c 	sta->auth = auth;
sta                79 drivers/net/wireless/ath/ath6kl/main.c 	sta->apsd_info = apsd_info;
sta                82 drivers/net/wireless/ath/ath6kl/main.c 	ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid);
sta                83 drivers/net/wireless/ath/ath6kl/main.c 	aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn);
sta                88 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl_sta *sta = &ar->sta_list[i];
sta                92 drivers/net/wireless/ath/ath6kl/main.c 	spin_lock_bh(&sta->psq_lock);
sta                93 drivers/net/wireless/ath/ath6kl/main.c 	skb_queue_purge(&sta->psq);
sta                94 drivers/net/wireless/ath/ath6kl/main.c 	skb_queue_purge(&sta->apsdq);
sta                96 drivers/net/wireless/ath/ath6kl/main.c 	if (sta->mgmt_psq_len != 0) {
sta                97 drivers/net/wireless/ath/ath6kl/main.c 		list_for_each_entry_safe(entry, tmp, &sta->mgmt_psq, list) {
sta               100 drivers/net/wireless/ath/ath6kl/main.c 		INIT_LIST_HEAD(&sta->mgmt_psq);
sta               101 drivers/net/wireless/ath/ath6kl/main.c 		sta->mgmt_psq_len = 0;
sta               104 drivers/net/wireless/ath/ath6kl/main.c 	spin_unlock_bh(&sta->psq_lock);
sta               106 drivers/net/wireless/ath/ath6kl/main.c 	memset(&ar->ap_stats.sta[sta->aid - 1], 0,
sta               108 drivers/net/wireless/ath/ath6kl/main.c 	eth_zero_addr(sta->mac);
sta               109 drivers/net/wireless/ath/ath6kl/main.c 	memset(sta->wpa_ie, 0, ATH6KL_MAX_IE);
sta               110 drivers/net/wireless/ath/ath6kl/main.c 	sta->aid = 0;
sta               111 drivers/net/wireless/ath/ath6kl/main.c 	sta->sta_flags = 0;
sta               114 drivers/net/wireless/ath/ath6kl/main.c 	aggr_reset_state(sta->aggr_conn);
sta               675 drivers/net/wireless/ath/ath6kl/main.c 	struct ath6kl_sta *sta;
sta               684 drivers/net/wireless/ath/ath6kl/main.c 		sta = ath6kl_find_sta_by_aid(ar, (keyid >> 2));
sta               685 drivers/net/wireless/ath/ath6kl/main.c 		if (!sta)
sta               692 drivers/net/wireless/ath/ath6kl/main.c 		cfg80211_michael_mic_failure(vif->ndev, sta->mac,
sta               832 drivers/net/wireless/ath/ath6kl/main.c 			st_ap = &ap->sta[ac];
sta               833 drivers/net/wireless/ath/ath6kl/main.c 			st_p = &p->sta[ac];
sta              1701 drivers/net/wireless/ath/ath6kl/txrx.c 	struct ath6kl_sta *sta;
sta              1709 drivers/net/wireless/ath/ath6kl/txrx.c 		sta = ath6kl_find_sta_by_aid(vif->ar, aid);
sta              1710 drivers/net/wireless/ath/ath6kl/txrx.c 		if (sta)
sta              1711 drivers/net/wireless/ath/ath6kl/txrx.c 			aggr_conn = sta->aggr_conn;
sta              1795 drivers/net/wireless/ath/ath6kl/txrx.c 	struct ath6kl_sta *sta;
sta              1802 drivers/net/wireless/ath/ath6kl/txrx.c 		sta = ath6kl_find_sta_by_aid(vif->ar, aid);
sta              1803 drivers/net/wireless/ath/ath6kl/txrx.c 		if (sta)
sta              1804 drivers/net/wireless/ath/ath6kl/txrx.c 			aggr_conn = sta->aggr_conn;
sta               900 drivers/net/wireless/ath/ath6kl/wmi.c 		   le16_to_cpu(ev->u.sta.ch), ev->u.sta.bssid,
sta               901 drivers/net/wireless/ath/ath6kl/wmi.c 		   le16_to_cpu(ev->u.sta.listen_intvl),
sta               902 drivers/net/wireless/ath/ath6kl/wmi.c 		   le16_to_cpu(ev->u.sta.beacon_intvl),
sta               903 drivers/net/wireless/ath/ath6kl/wmi.c 		   le32_to_cpu(ev->u.sta.nw_type));
sta               932 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_connect_event(vif, le16_to_cpu(ev->u.sta.ch),
sta               933 drivers/net/wireless/ath/ath6kl/wmi.c 			     ev->u.sta.bssid,
sta               934 drivers/net/wireless/ath/ath6kl/wmi.c 			     le16_to_cpu(ev->u.sta.listen_intvl),
sta               935 drivers/net/wireless/ath/ath6kl/wmi.c 			     le16_to_cpu(ev->u.sta.beacon_intvl),
sta               936 drivers/net/wireless/ath/ath6kl/wmi.c 			     le32_to_cpu(ev->u.sta.nw_type),
sta              1528 drivers/net/wireless/ath/ath6kl/wmi.h 		} sta;
sta              2344 drivers/net/wireless/ath/ath6kl/wmi.h 	struct wmi_per_sta_stat sta[AP_MAX_NUM_STA + 1];
sta               253 drivers/net/wireless/ath/ath9k/ath9k.h 	struct ieee80211_sta *sta; /* station struct we're part of */
sta               275 drivers/net/wireless/ath/ath9k/ath9k.h 	struct ieee80211_sta *sta;
sta               429 drivers/net/wireless/ath/ath9k/ath9k.h 	struct ieee80211_sta *sta = an->sta;
sta               434 drivers/net/wireless/ath/ath9k/ath9k.h 	if (sta)
sta               435 drivers/net/wireless/ath/ath9k/ath9k.h 		txq = sta->txq[tidno % ARRAY_SIZE(sta->txq)];
sta               602 drivers/net/wireless/ath/ath9k/ath9k.h int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta,
sta               604 drivers/net/wireless/ath/ath9k/ath9k.h void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
sta               607 drivers/net/wireless/ath/ath9k/ath9k.h void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
sta               610 drivers/net/wireless/ath/ath9k/ath9k.h 				   struct ieee80211_sta *sta,
sta              1105 drivers/net/wireless/ath/ath9k/channel.c 	struct ieee80211_sta *sta = NULL;
sta              1127 drivers/net/wireless/ath/ath9k/channel.c 		if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) {
sta              1138 drivers/net/wireless/ath/ath9k/channel.c 	txctl.sta = sta;
sta              1560 drivers/net/wireless/ath/ath9k/channel.c 	struct ieee80211_sta *sta;
sta              1586 drivers/net/wireless/ath/ath9k/channel.c 	sta = ieee80211_find_sta(vif, avp->bssid);
sta              1587 drivers/net/wireless/ath/ath9k/channel.c 	if (!sta)
sta              1590 drivers/net/wireless/ath/ath9k/channel.c 	an = (void *) sta->drv_priv;
sta              1596 drivers/net/wireless/ath/ath9k/channel.c 		ath_tx_aggr_sleep(sta, sc, an);
sta               272 drivers/net/wireless/ath/ath9k/debug.h 			   struct ieee80211_sta *sta,
sta                39 drivers/net/wireless/ath/ath9k/debug_sta.c 	if (!an->sta->ht_cap.ht_supported) {
sta                99 drivers/net/wireless/ath/ath9k/debug_sta.c 	struct ieee80211_sta *sta;
sta               107 drivers/net/wireless/ath/ath9k/debug_sta.c 	sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL);
sta               108 drivers/net/wireless/ath/ath9k/debug_sta.c 	if (!sta)
sta               111 drivers/net/wireless/ath/ath9k/debug_sta.c 	an = (struct ath_node *) sta->drv_priv;
sta               175 drivers/net/wireless/ath/ath9k/debug_sta.c 	struct ieee80211_sta *sta = an->sta;
sta               189 drivers/net/wireless/ath/ath9k/debug_sta.c 	if (!sta->ht_cap.ht_supported)
sta               247 drivers/net/wireless/ath/ath9k/debug_sta.c 			   struct ieee80211_sta *sta,
sta               250 drivers/net/wireless/ath/ath9k/debug_sta.c 	struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta               150 drivers/net/wireless/ath/ath9k/dynack.c 	struct ieee80211_sta *sta;
sta               174 drivers/net/wireless/ath/ath9k/dynack.c 				sta = ieee80211_find_sta_by_ifaddr(ah->hw, dst,
sta               176 drivers/net/wireless/ath/ath9k/dynack.c 				if (sta) {
sta               177 drivers/net/wireless/ath/ath9k/dynack.c 					an = (struct ath_node *)sta->drv_priv;
sta               209 drivers/net/wireless/ath/ath9k/dynack.c 			     struct ieee80211_sta *sta)
sta               234 drivers/net/wireless/ath/ath9k/dynack.c 			if (sta) {
sta               237 drivers/net/wireless/ath/ath9k/dynack.c 				an = (struct ath_node *)sta->drv_priv;
sta                90 drivers/net/wireless/ath/ath9k/dynack.h 			     struct ieee80211_sta *sta);
sta               102 drivers/net/wireless/ath/ath9k/dynack.h 					   struct ieee80211_sta *sta) {}
sta               572 drivers/net/wireless/ath/ath9k/htc.h 		       struct ieee80211_sta *sta,
sta               468 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				 struct ieee80211_sta *sta)
sta               487 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (sta) {
sta               488 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               489 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		memcpy(&tsta.macaddr, sta->addr, ETH_ALEN);
sta               494 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				 sta->ht_cap.ampdu_factor);
sta               507 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta)
sta               510 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				sta->addr);
sta               514 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (sta) {
sta               517 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr, tsta.sta_index);
sta               526 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (!sta)
sta               534 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				    struct ieee80211_sta *sta)
sta               542 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (sta) {
sta               543 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               551 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta)
sta               554 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				sta->addr);
sta               558 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (sta) {
sta               561 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr, sta_idx);
sta               594 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				 struct ieee80211_sta *sta,
sta               597 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               605 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta->supp_rates[sband->band] & BIT(i)) {
sta               613 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (sta->ht_cap.ht_supported) {
sta               615 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			if (sta->ht_cap.mcs.rx_mask[i/8] & (1<<(i%8)))
sta               623 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta->ht_cap.cap & IEEE80211_HT_CAP_RX_STBC)
sta               625 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if (sta->ht_cap.mcs.rx_mask[1])
sta               627 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		if ((sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40) &&
sta               631 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		    (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40))
sta               634 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			 (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20))
sta               660 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				struct ieee80211_sta *sta)
sta               667 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ath9k_htc_setup_rate(priv, sta, &trate);
sta               672 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr, be32_to_cpu(trate.capflags));
sta               681 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ieee80211_sta *sta;
sta               687 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta               688 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (!sta) {
sta               692 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ath9k_htc_setup_rate(priv, sta, &trate);
sta               704 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				  struct ieee80211_sta *sta,
sta               718 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               728 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			(aggr.aggr_enable) ? "start" : "stop", sta->addr, tid);
sta               733 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr, tid);
sta               891 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ret = ath9k_htc_tx_start(priv, control->sta, skb, slot, false);
sta              1292 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ieee80211_sta *sta =
sta              1302 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ath9k_htc_setup_rate(priv, sta, &trate);
sta              1306 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr, be32_to_cpu(trate.capflags));
sta              1310 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			sta->addr);
sta              1318 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			     struct ieee80211_sta *sta)
sta              1321 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta              1326 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ret = ath9k_htc_add_station(priv, vif, sta);
sta              1330 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ath9k_htc_init_rate(priv, sta);
sta              1340 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				struct ieee80211_sta *sta)
sta              1343 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta              1351 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ret = ath9k_htc_remove_station(priv, vif, sta);
sta              1360 drivers/net/wireless/ath/ath9k/htc_drv_main.c 				    struct ieee80211_sta *sta, u32 changed)
sta              1362 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ath9k_htc_sta *ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta              1418 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			     struct ieee80211_sta *sta,
sta              1449 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ret = ath_key_config(common, vif, sta, key);
sta              1662 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	struct ieee80211_sta *sta = params->sta;
sta              1675 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ret = ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid);
sta              1677 drivers/net/wireless/ath/ath9k/htc_drv_main.c 			ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1682 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid);
sta              1683 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1690 drivers/net/wireless/ath/ath9k/htc_drv_main.c 		ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               336 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		       struct ieee80211_sta *sta,
sta               369 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	if (sta) {
sta               370 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		ista = (struct ath9k_htc_sta *) sta->drv_priv;
sta               404 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	struct ieee80211_sta *sta;
sta               413 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	sta = ieee80211_find_sta(vif, hdr->addr1);
sta               414 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	if (!sta) {
sta               419 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	if (sta && conf_is_ht(&priv->hw->conf) &&
sta               427 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 			ista = (struct ath9k_htc_sta *)sta->drv_priv;
sta               429 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 				ieee80211_start_tx_ba_session(sta, tid, 0);
sta               347 drivers/net/wireless/ath/ath9k/main.c static void ath_node_attach(struct ath_softc *sc, struct ieee80211_sta *sta,
sta               351 drivers/net/wireless/ath/ath9k/main.c 	an = (struct ath_node *)sta->drv_priv;
sta               354 drivers/net/wireless/ath/ath9k/main.c 	an->sta = sta;
sta               363 drivers/net/wireless/ath/ath9k/main.c static void ath_node_detach(struct ath_softc *sc, struct ieee80211_sta *sta)
sta               365 drivers/net/wireless/ath/ath9k/main.c 	struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta               806 drivers/net/wireless/ath/ath9k/main.c 	txctl.sta = control->sta;
sta              1285 drivers/net/wireless/ath/ath9k/main.c 	an->sta = NULL;
sta              1510 drivers/net/wireless/ath/ath9k/main.c 			 struct ieee80211_sta *sta)
sta              1514 drivers/net/wireless/ath/ath9k/main.c 	struct ath_node *an = (struct ath_node *) sta->drv_priv;
sta              1518 drivers/net/wireless/ath/ath9k/main.c 	ath_node_attach(sc, sta, vif);
sta              1524 drivers/net/wireless/ath/ath9k/main.c 	key = ath_key_config(common, vif, sta, &ps_key);
sta              1535 drivers/net/wireless/ath/ath9k/main.c 			     struct ieee80211_sta *sta)
sta              1538 drivers/net/wireless/ath/ath9k/main.c 	struct ath_node *an = (struct ath_node *) sta->drv_priv;
sta              1551 drivers/net/wireless/ath/ath9k/main.c 			    struct ieee80211_sta *sta)
sta              1555 drivers/net/wireless/ath/ath9k/main.c 	ath9k_del_ps_key(sc, vif, sta);
sta              1556 drivers/net/wireless/ath/ath9k/main.c 	ath_node_detach(sc, sta);
sta              1563 drivers/net/wireless/ath/ath9k/main.c 			   struct ieee80211_sta *sta,
sta              1573 drivers/net/wireless/ath/ath9k/main.c 		ret = ath9k_sta_add(hw, vif, sta);
sta              1575 drivers/net/wireless/ath/ath9k/main.c 			"Add station: %pM\n", sta->addr);
sta              1578 drivers/net/wireless/ath/ath9k/main.c 		ret = ath9k_sta_remove(hw, vif, sta);
sta              1580 drivers/net/wireless/ath/ath9k/main.c 			"Remove station: %pM\n", sta->addr);
sta              1611 drivers/net/wireless/ath/ath9k/main.c 			 struct ieee80211_sta *sta)
sta              1614 drivers/net/wireless/ath/ath9k/main.c 	struct ath_node *an = (struct ath_node *) sta->drv_priv;
sta              1619 drivers/net/wireless/ath/ath9k/main.c 		ath_tx_aggr_sleep(sta, sc, an);
sta              1674 drivers/net/wireless/ath/ath9k/main.c 			 struct ieee80211_sta *sta,
sta              1703 drivers/net/wireless/ath/ath9k/main.c 	if (sta)
sta              1704 drivers/net/wireless/ath/ath9k/main.c 		an = (struct ath_node *)sta->drv_priv;
sta              1708 drivers/net/wireless/ath/ath9k/main.c 		if (sta)
sta              1709 drivers/net/wireless/ath/ath9k/main.c 			ath9k_del_ps_key(sc, vif, sta);
sta              1712 drivers/net/wireless/ath/ath9k/main.c 		ret = ath_key_config(common, vif, sta, key);
sta              1903 drivers/net/wireless/ath/ath9k/main.c 	struct ieee80211_sta *sta = params->sta;
sta              1904 drivers/net/wireless/ath/ath9k/main.c 	struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta              1925 drivers/net/wireless/ath/ath9k/main.c 		ret = ath_tx_aggr_start(sc, sta, tid, ssn);
sta              1927 drivers/net/wireless/ath/ath9k/main.c 			ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1936 drivers/net/wireless/ath/ath9k/main.c 		ath_tx_aggr_stop(sc, sta, tid);
sta              1938 drivers/net/wireless/ath/ath9k/main.c 			ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1944 drivers/net/wireless/ath/ath9k/main.c 			        sta->ht_cap.ampdu_factor;
sta              1016 drivers/net/wireless/ath/ath9k/recv.c 	struct ieee80211_sta *sta;
sta              1030 drivers/net/wireless/ath/ath9k/recv.c 	sta = ieee80211_find_sta_by_ifaddr(sc->hw, hdr->addr2, NULL);
sta              1031 drivers/net/wireless/ath/ath9k/recv.c 	if (!sta)
sta              1054 drivers/net/wireless/ath/ath9k/recv.c 	ieee80211_sta_register_airtime(sta, tidno, 0, airtime);
sta                54 drivers/net/wireless/ath/ath9k/xmit.c 			    struct ieee80211_sta *sta);
sta                57 drivers/net/wireless/ath/ath9k/xmit.c 				struct ieee80211_sta *sta,
sta                87 drivers/net/wireless/ath/ath9k/xmit.c 	struct ieee80211_sta *sta = info->status.status_driver_data[0];
sta                95 drivers/net/wireless/ath/ath9k/xmit.c 	if (sta)
sta                96 drivers/net/wireless/ath/ath9k/xmit.c 		ieee80211_tx_status_noskb(hw, sta, info);
sta               132 drivers/net/wireless/ath/ath9k/xmit.c 		queue->sta ? queue->sta->addr : queue->vif->addr,
sta               150 drivers/net/wireless/ath/ath9k/xmit.c 	if (!tid->an->sta)
sta               153 drivers/net/wireless/ath/ath9k/xmit.c 	ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno,
sta               157 drivers/net/wireless/ath/ath9k/xmit.c static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               160 drivers/net/wireless/ath/ath9k/xmit.c 	ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates,
sta               194 drivers/net/wireless/ath/ath9k/xmit.c 		.sta = tid->an->sta,
sta               441 drivers/net/wireless/ath/ath9k/xmit.c 				 struct ieee80211_sta *sta,
sta               471 drivers/net/wireless/ath/ath9k/xmit.c 	if (!sta) {
sta               486 drivers/net/wireless/ath/ath9k/xmit.c 	an = (struct ath_node *)sta->drv_priv;
sta               585 drivers/net/wireless/ath/ath9k/xmit.c 								ts, sta);
sta               588 drivers/net/wireless/ath/ath9k/xmit.c 			ath_tx_complete_buf(sc, bf, txq, &bf_head, sta, ts,
sta               593 drivers/net/wireless/ath/ath9k/xmit.c 				ieee80211_sta_eosp(sta);
sta               632 drivers/net/wireless/ath/ath9k/xmit.c 			ieee80211_sta_set_buffered(sta, tid->tidno, true);
sta               664 drivers/net/wireless/ath/ath9k/xmit.c 				 struct ieee80211_sta *sta,
sta               678 drivers/net/wireless/ath/ath9k/xmit.c 	ieee80211_sta_register_airtime(sta, tid, airtime, 0);
sta               687 drivers/net/wireless/ath/ath9k/xmit.c 	struct ieee80211_sta *sta;
sta               704 drivers/net/wireless/ath/ath9k/xmit.c 	sta = ieee80211_find_sta_by_ifaddr(hw, hdr->addr1, hdr->addr2);
sta               705 drivers/net/wireless/ath/ath9k/xmit.c 	if (sta) {
sta               706 drivers/net/wireless/ath/ath9k/xmit.c 		struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta               708 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_count_airtime(sc, sta, bf, ts, tid->tidno);
sta               720 drivers/net/wireless/ath/ath9k/xmit.c 						sta);
sta               722 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_buf(sc, bf, txq, bf_head, sta, ts, txok);
sta               724 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete_aggr(sc, txq, bf, bf_head, sta, tid, ts, txok);
sta              1464 drivers/net/wireless/ath/ath9k/xmit.c 		ath_set_rates(tid->an->vif, tid->an->sta, bf);
sta              1491 drivers/net/wireless/ath/ath9k/xmit.c 	ath_set_rates(tid->an->vif, tid->an->sta, bf);
sta              1510 drivers/net/wireless/ath/ath9k/xmit.c int ath_tx_aggr_start(struct ath_softc *sc, struct ieee80211_sta *sta,
sta              1521 drivers/net/wireless/ath/ath9k/xmit.c 	an = (struct ath_node *)sta->drv_priv;
sta              1531 drivers/net/wireless/ath/ath9k/xmit.c 	if (sta->ht_cap.ht_supported) {
sta              1533 drivers/net/wireless/ath/ath9k/xmit.c 				      sta->ht_cap.ampdu_factor)) - 1;
sta              1534 drivers/net/wireless/ath/ath9k/xmit.c 		density = ath9k_parse_mpdudensity(sta->ht_cap.ampdu_density);
sta              1550 drivers/net/wireless/ath/ath9k/xmit.c void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid)
sta              1553 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta              1565 drivers/net/wireless/ath/ath9k/xmit.c void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
sta              1578 drivers/net/wireless/ath/ath9k/xmit.c 			ieee80211_sta_set_buffered(sta, tid->tidno, true);
sta              1624 drivers/net/wireless/ath/ath9k/xmit.c 				   struct ieee80211_sta *sta,
sta              1630 drivers/net/wireless/ath/ath9k/xmit.c 	struct ath_node *an = (struct ath_node *)sta->drv_priv;
sta              1656 drivers/net/wireless/ath/ath9k/xmit.c 			ath_set_rates(tid->an->vif, tid->an->sta, bf);
sta              1667 drivers/net/wireless/ath/ath9k/xmit.c 			if (an->sta && skb_queue_empty(&tid->retry_q))
sta              1668 drivers/net/wireless/ath/ath9k/xmit.c 				ieee80211_sta_set_buffered(an->sta, i, false);
sta              2067 drivers/net/wireless/ath/ath9k/xmit.c 			     struct ieee80211_sta *sta,
sta              2093 drivers/net/wireless/ath/ath9k/xmit.c 	if (sta)
sta              2094 drivers/net/wireless/ath/ath9k/xmit.c 		an = (struct ath_node *) sta->drv_priv;
sta              2223 drivers/net/wireless/ath/ath9k/xmit.c 	struct ieee80211_sta *sta = txctl->sta;
sta              2231 drivers/net/wireless/ath/ath9k/xmit.c 	if (sta)
sta              2232 drivers/net/wireless/ath/ath9k/xmit.c 		txctl->an = (struct ath_node *)sta->drv_priv;
sta              2259 drivers/net/wireless/ath/ath9k/xmit.c 	setup_frame_info(hw, sta, skb, frmlen);
sta              2269 drivers/net/wireless/ath/ath9k/xmit.c 	struct ieee80211_sta *sta = txctl->sta;
sta              2296 drivers/net/wireless/ath/ath9k/xmit.c 	if (txctl->sta) {
sta              2297 drivers/net/wireless/ath/ath9k/xmit.c 		an = (struct ath_node *) sta->drv_priv;
sta              2322 drivers/net/wireless/ath/ath9k/xmit.c 	ath_set_rates(vif, sta, bf);
sta              2399 drivers/net/wireless/ath/ath9k/xmit.c 			    struct ieee80211_sta *sta)
sta              2445 drivers/net/wireless/ath/ath9k/xmit.c 	tx_info->status.status_driver_data[0] = sta;
sta              2451 drivers/net/wireless/ath/ath9k/xmit.c 				struct ieee80211_sta *sta,
sta              2479 drivers/net/wireless/ath/ath9k/xmit.c 		ath_tx_complete(sc, skb, tx_flags, txq, sta);
sta              2806 drivers/net/wireless/ath/ath9k/xmit.c 		if (!an->sta)
sta              2833 drivers/net/wireless/ath/ath9k/xmit.c 		if (!an->sta)
sta               137 drivers/net/wireless/ath/carl9170/carl9170.h 	struct ieee80211_sta *sta;
sta              1175 drivers/net/wireless/ath/carl9170/main.c 			       struct ieee80211_sta *sta,
sta              1233 drivers/net/wireless/ath/carl9170/main.c 			sta = NULL;
sta              1246 drivers/net/wireless/ath/carl9170/main.c 		err = carl9170_upload_key(ar, i, sta ? sta->addr : NULL,
sta              1253 drivers/net/wireless/ath/carl9170/main.c 			err = carl9170_upload_key(ar, i, sta ? sta->addr :
sta              1317 drivers/net/wireless/ath/carl9170/main.c 			       struct ieee80211_sta *sta)
sta              1319 drivers/net/wireless/ath/carl9170/main.c 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;
sta              1324 drivers/net/wireless/ath/carl9170/main.c 	if (sta->ht_cap.ht_supported) {
sta              1325 drivers/net/wireless/ath/carl9170/main.c 		if (sta->ht_cap.ampdu_density > 6) {
sta              1337 drivers/net/wireless/ath/carl9170/main.c 		sta_info->ampdu_max_len = 1 << (3 + sta->ht_cap.ampdu_factor);
sta              1346 drivers/net/wireless/ath/carl9170/main.c 				struct ieee80211_sta *sta)
sta              1349 drivers/net/wireless/ath/carl9170/main.c 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;
sta              1353 drivers/net/wireless/ath/carl9170/main.c 	if (sta->ht_cap.ht_supported) {
sta              1413 drivers/net/wireless/ath/carl9170/main.c 	struct ieee80211_sta *sta = params->sta;
sta              1418 drivers/net/wireless/ath/carl9170/main.c 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;
sta              1438 drivers/net/wireless/ath/carl9170/main.c 		tid_info->sta = sta;
sta              1452 drivers/net/wireless/ath/carl9170/main.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1470 drivers/net/wireless/ath/carl9170/main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1726 drivers/net/wireless/ath/carl9170/main.c 				   struct ieee80211_sta *sta)
sta              1728 drivers/net/wireless/ath/carl9170/main.c 	struct carl9170_sta_info *sta_info = (void *) sta->drv_priv;
sta              1734 drivers/net/wireless/ath/carl9170/main.c 			ieee80211_sta_block_awake(hw, sta, true);
sta               140 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta;
sta               144 drivers/net/wireless/ath/carl9170/tx.c 	sta = __carl9170_get_tx_sta(ar, skb);
sta               145 drivers/net/wireless/ath/carl9170/tx.c 	if (unlikely(!sta))
sta               148 drivers/net/wireless/ath/carl9170/tx.c 	sta_info = (struct carl9170_sta_info *) sta->drv_priv;
sta               150 drivers/net/wireless/ath/carl9170/tx.c 		ieee80211_sta_block_awake(ar->hw, sta, false);
sta               383 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta;
sta               393 drivers/net/wireless/ath/carl9170/tx.c 	sta = __carl9170_get_tx_sta(ar, skb);
sta               394 drivers/net/wireless/ath/carl9170/tx.c 	if (unlikely(!sta))
sta               399 drivers/net/wireless/ath/carl9170/tx.c 	sta_info = (void *) sta->drv_priv;
sta               609 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta;
sta               627 drivers/net/wireless/ath/carl9170/tx.c 		sta = iter->sta;
sta               628 drivers/net/wireless/ath/carl9170/tx.c 		if (WARN_ON(!sta))
sta               631 drivers/net/wireless/ath/carl9170/tx.c 		ieee80211_stop_tx_ba_session(sta, iter->tid);
sta               873 drivers/net/wireless/ath/carl9170/tx.c 				  struct ieee80211_sta *sta,
sta               883 drivers/net/wireless/ath/carl9170/tx.c 	ieee80211_get_tx_rates(vif, sta, skb,
sta               959 drivers/net/wireless/ath/carl9170/tx.c 			       struct ieee80211_sta *sta,
sta              1043 drivers/net/wireless/ath/carl9170/tx.c 		if (unlikely(!sta || !cvif))
sta              1046 drivers/net/wireless/ath/carl9170/tx.c 		factor = min_t(unsigned int, 1u, sta->ht_cap.ampdu_factor);
sta              1047 drivers/net/wireless/ath/carl9170/tx.c 		density = sta->ht_cap.ampdu_density;
sta              1191 drivers/net/wireless/ath/carl9170/tx.c 						      tid_info->sta, first);
sta              1288 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta;
sta              1293 drivers/net/wireless/ath/carl9170/tx.c 	sta = __carl9170_get_tx_sta(ar, skb);
sta              1294 drivers/net/wireless/ath/carl9170/tx.c 	if (!sta)
sta              1297 drivers/net/wireless/ath/carl9170/tx.c 	sta_info = (void *) sta->drv_priv;
sta              1395 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta, struct sk_buff *skb,
sta              1406 drivers/net/wireless/ath/carl9170/tx.c 	sta_info = (void *) sta->drv_priv;
sta              1476 drivers/net/wireless/ath/carl9170/tx.c 	struct ieee80211_sta *sta = control->sta;
sta              1486 drivers/net/wireless/ath/carl9170/tx.c 	if (unlikely(carl9170_tx_prepare(ar, sta, skb)))
sta              1495 drivers/net/wireless/ath/carl9170/tx.c 	if (sta) {
sta              1496 drivers/net/wireless/ath/carl9170/tx.c 		struct carl9170_sta_info *stai = (void *) sta->drv_priv;
sta              1508 drivers/net/wireless/ath/carl9170/tx.c 		run = carl9170_tx_ampdu_queue(ar, sta, skb, info);
sta              1515 drivers/net/wireless/ath/carl9170/tx.c 		carl9170_tx_get_rates(ar, vif, sta, skb);
sta               475 drivers/net/wireless/ath/key.c 			  struct ieee80211_sta *sta,
sta               517 drivers/net/wireless/ath/key.c 			if (!sta) {
sta               521 drivers/net/wireless/ath/key.c 			memcpy(gmac, sta->addr, ETH_ALEN);
sta               531 drivers/net/wireless/ath/key.c 		if (WARN_ON(!sta))
sta               533 drivers/net/wireless/ath/key.c 		mac = sta->addr;
sta               542 drivers/net/wireless/ath/key.c 		if (WARN_ON(!sta))
sta               544 drivers/net/wireless/ath/key.c 		mac = sta->addr;
sta              1716 drivers/net/wireless/ath/wcn36xx/hal.h 	struct wcn36xx_hal_config_sta_params sta;
sta              1935 drivers/net/wireless/ath/wcn36xx/hal.h 	struct wcn36xx_hal_config_sta_params_v1 sta;
sta              3073 drivers/net/wireless/ath/wcn36xx/hal.h 	u8 sta[ETH_ALEN];
sta               482 drivers/net/wireless/ath/wcn36xx/main.c 	if (control->sta)
sta               483 drivers/net/wireless/ath/wcn36xx/main.c 		sta_priv = wcn36xx_sta_to_priv(control->sta);
sta               491 drivers/net/wireless/ath/wcn36xx/main.c 			   struct ieee80211_sta *sta,
sta               496 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL;
sta               553 drivers/net/wireless/ath/wcn36xx/main.c 						       sta,
sta               554 drivers/net/wireless/ath/wcn36xx/main.c 						       sta->addr,
sta               709 drivers/net/wireless/ath/wcn36xx/main.c static void wcn36xx_update_allowed_rates(struct ieee80211_sta *sta,
sta               714 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
sta               715 drivers/net/wireless/ath/wcn36xx/main.c 	u32 rates = sta->supp_rates[band];
sta               741 drivers/net/wireless/ath/wcn36xx/main.c 	if (sta->ht_cap.ht_supported) {
sta               742 drivers/net/wireless/ath/wcn36xx/main.c 		BUILD_BUG_ON(sizeof(sta->ht_cap.mcs.rx_mask) >
sta               745 drivers/net/wireless/ath/wcn36xx/main.c 		       sta->ht_cap.mcs.rx_mask,
sta               746 drivers/net/wireless/ath/wcn36xx/main.c 		       sizeof(sta->ht_cap.mcs.rx_mask));
sta               836 drivers/net/wireless/ath/wcn36xx/main.c 			struct ieee80211_sta *sta;
sta               853 drivers/net/wireless/ath/wcn36xx/main.c 			sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta               854 drivers/net/wireless/ath/wcn36xx/main.c 			if (!sta) {
sta               859 drivers/net/wireless/ath/wcn36xx/main.c 			sta_priv = wcn36xx_sta_to_priv(sta);
sta               861 drivers/net/wireless/ath/wcn36xx/main.c 			wcn36xx_update_allowed_rates(sta, WCN36XX_BAND(wcn));
sta               866 drivers/net/wireless/ath/wcn36xx/main.c 			wcn36xx_smd_config_bss(wcn, vif, sta,
sta               874 drivers/net/wireless/ath/wcn36xx/main.c 			wcn36xx_smd_config_sta(wcn, vif, sta);
sta              1001 drivers/net/wireless/ath/wcn36xx/main.c 			   struct ieee80211_sta *sta)
sta              1005 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
sta              1007 drivers/net/wireless/ath/wcn36xx/main.c 		    vif, sta->addr);
sta              1020 drivers/net/wireless/ath/wcn36xx/main.c 		wcn36xx_update_allowed_rates(sta, WCN36XX_BAND(wcn));
sta              1021 drivers/net/wireless/ath/wcn36xx/main.c 		sta_priv->aid = sta->aid;
sta              1022 drivers/net/wireless/ath/wcn36xx/main.c 		wcn36xx_smd_config_sta(wcn, vif, sta);
sta              1032 drivers/net/wireless/ath/wcn36xx/main.c 			      struct ieee80211_sta *sta)
sta              1035 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
sta              1038 drivers/net/wireless/ath/wcn36xx/main.c 		    vif, sta->addr, sta_priv->sta_index);
sta              1082 drivers/net/wireless/ath/wcn36xx/main.c 	struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(params->sta);
sta              1083 drivers/net/wireless/ath/wcn36xx/main.c 	struct ieee80211_sta *sta = params->sta;
sta              1096 drivers/net/wireless/ath/wcn36xx/main.c 		wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 0,
sta              1109 drivers/net/wireless/ath/wcn36xx/main.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1116 drivers/net/wireless/ath/wcn36xx/main.c 		wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 1,
sta              1126 drivers/net/wireless/ath/wcn36xx/main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               107 drivers/net/wireless/ath/wcn36xx/smd.c 		struct ieee80211_sta *sta,
sta               112 drivers/net/wireless/ath/wcn36xx/smd.c 	else if (sta && sta->ht_cap.ht_supported)
sta               114 drivers/net/wireless/ath/wcn36xx/smd.c 	else if (sta && (sta->supp_rates[NL80211_BAND_2GHZ] & 0x7f))
sta               125 drivers/net/wireless/ath/wcn36xx/smd.c 		struct ieee80211_sta *sta,
sta               128 drivers/net/wireless/ath/wcn36xx/smd.c 	if (sta && sta->ht_cap.ht_supported) {
sta               129 drivers/net/wireless/ath/wcn36xx/smd.c 		unsigned long caps = sta->ht_cap.cap;
sta               130 drivers/net/wireless/ath/wcn36xx/smd.c 		bss_params->ht = sta->ht_cap.ht_supported;
sta               148 drivers/net/wireless/ath/wcn36xx/smd.c static void wcn36xx_smd_set_sta_ht_params(struct ieee80211_sta *sta,
sta               151 drivers/net/wireless/ath/wcn36xx/smd.c 	if (sta->ht_cap.ht_supported) {
sta               152 drivers/net/wireless/ath/wcn36xx/smd.c 		unsigned long caps = sta->ht_cap.cap;
sta               153 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->ht_capable = sta->ht_cap.ht_supported;
sta               159 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->max_ampdu_size = sta->ht_cap.ampdu_factor;
sta               160 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->max_ampdu_density = sta->ht_cap.ampdu_density;
sta               194 drivers/net/wireless/ath/wcn36xx/smd.c 		struct ieee80211_sta *sta,
sta               233 drivers/net/wireless/ath/wcn36xx/smd.c 	if (sta) {
sta               234 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_priv = wcn36xx_sta_to_priv(sta);
sta               236 drivers/net/wireless/ath/wcn36xx/smd.c 			memcpy(&sta_params->bssid, sta->addr, ETH_ALEN);
sta               238 drivers/net/wireless/ath/wcn36xx/smd.c 			memcpy(&sta_params->mac, sta->addr, ETH_ALEN);
sta               239 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->wmm_enabled = sta->wme;
sta               240 drivers/net/wireless/ath/wcn36xx/smd.c 		sta_params->max_sp_len = sta->max_sp;
sta               242 drivers/net/wireless/ath/wcn36xx/smd.c 		wcn36xx_smd_set_sta_ht_params(sta, sta_params);
sta              1167 drivers/net/wireless/ath/wcn36xx/smd.c 				      struct ieee80211_sta *sta,
sta              1173 drivers/net/wireless/ath/wcn36xx/smd.c 	struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
sta              1203 drivers/net/wireless/ath/wcn36xx/smd.c 	struct wcn36xx_hal_config_sta_params_v1 *sta = &msg_body.sta_params;
sta              1214 drivers/net/wireless/ath/wcn36xx/smd.c 		    sta->action, sta->sta_index, sta->bssid_index,
sta              1215 drivers/net/wireless/ath/wcn36xx/smd.c 		    sta->bssid, sta->type, sta->mac, sta->aid);
sta              1221 drivers/net/wireless/ath/wcn36xx/smd.c 			   struct ieee80211_sta *sta)
sta              1232 drivers/net/wireless/ath/wcn36xx/smd.c 	wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params);
sta              1252 drivers/net/wireless/ath/wcn36xx/smd.c 					 sta,
sta              1269 drivers/net/wireless/ath/wcn36xx/smd.c 	struct wcn36xx_hal_config_sta_params_v1 *sta;
sta              1279 drivers/net/wireless/ath/wcn36xx/smd.c 	sta = &bss->sta;
sta              1361 drivers/net/wireless/ath/wcn36xx/smd.c 	wcn36xx_smd_convert_sta_to_v1(wcn, &orig->bss_params.sta,
sta              1362 drivers/net/wireless/ath/wcn36xx/smd.c 				      &msg_body->bss_params.sta);
sta              1373 drivers/net/wireless/ath/wcn36xx/smd.c 		    sta->bssid, sta->action, sta->sta_index,
sta              1374 drivers/net/wireless/ath/wcn36xx/smd.c 		    sta->bssid_index, sta->aid, sta->type, sta->mac);
sta              1385 drivers/net/wireless/ath/wcn36xx/smd.c 				      struct ieee80211_sta *sta,
sta              1416 drivers/net/wireless/ath/wcn36xx/smd.c 	if (sta) {
sta              1417 drivers/net/wireless/ath/wcn36xx/smd.c 		struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta);
sta              1428 drivers/net/wireless/ath/wcn36xx/smd.c 			   struct ieee80211_sta *sta, const u8 *bssid,
sta              1446 drivers/net/wireless/ath/wcn36xx/smd.c 	sta_params = &bss->sta;
sta              1477 drivers/net/wireless/ath/wcn36xx/smd.c 		wcn36xx_smd_set_bss_nw_type(wcn, sta, bss);
sta              1489 drivers/net/wireless/ath/wcn36xx/smd.c 	wcn36xx_smd_set_bss_ht_params(vif, sta, bss);
sta              1501 drivers/net/wireless/ath/wcn36xx/smd.c 	wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params);
sta              1552 drivers/net/wireless/ath/wcn36xx/smd.c 					 sta,
sta              2106 drivers/net/wireless/ath/wcn36xx/smd.c 		struct ieee80211_sta *sta,
sta              2119 drivers/net/wireless/ath/wcn36xx/smd.c 	memcpy(&msg_body.mac_addr, sta->addr, ETH_ALEN);
sta              2344 drivers/net/wireless/ath/wcn36xx/smd.c 	struct ieee80211_sta *sta;
sta              2356 drivers/net/wireless/ath/wcn36xx/smd.c 		sta = ieee80211_find_sta(wcn36xx_priv_to_vif(tmp), rsp->addr2);
sta              2357 drivers/net/wireless/ath/wcn36xx/smd.c 		if (sta)
sta              2358 drivers/net/wireless/ath/wcn36xx/smd.c 			ieee80211_report_low_ack(sta, 0);
sta              2360 drivers/net/wireless/ath/wcn36xx/smd.c 		if (sta)
sta                79 drivers/net/wireless/ath/wcn36xx/smd.h 			   struct ieee80211_sta *sta, const u8 *bssid,
sta                83 drivers/net/wireless/ath/wcn36xx/smd.h 			   struct ieee80211_sta *sta);
sta               130 drivers/net/wireless/ath/wcn36xx/smd.h 		struct ieee80211_sta *sta,
sta               125 drivers/net/wireless/ath/wcn36xx/txrx.c 	struct ieee80211_sta *sta;
sta               131 drivers/net/wireless/ath/wcn36xx/txrx.c 	sta = wcn36xx_priv_to_sta(sta_priv);
sta               149 drivers/net/wireless/ath/wcn36xx/txrx.c 		ieee80211_start_tx_ba_session(sta, tid, 0);
sta               291 drivers/net/wireless/ath/wcn36xx/wcn36xx.h struct wcn36xx_sta *wcn36xx_sta_to_priv(struct ieee80211_sta *sta)
sta               293 drivers/net/wireless/ath/wcn36xx/wcn36xx.h 	return (struct wcn36xx_sta *)sta->drv_priv;
sta               453 drivers/net/wireless/ath/wil6210/cfg80211.c 	struct wil_net_stats *stats = &wil->sta[cid].stats;
sta               552 drivers/net/wireless/ath/wil6210/cfg80211.c 		if (wil->sta[i].status == wil_sta_unused)
sta               554 drivers/net/wireless/ath/wil6210/cfg80211.c 		if (wil->sta[i].mid != mid)
sta               576 drivers/net/wireless/ath/wil6210/cfg80211.c 	ether_addr_copy(mac, wil->sta[cid].addr);
sta              1545 drivers/net/wireless/ath/wil6210/cfg80211.c 	return &wil->sta[cid];
sta              2310 drivers/net/wireless/ath/wil6210/cfg80211.c 	struct wil_sta_info *sta = &wil->sta[req->cid];
sta              2314 drivers/net/wireless/ath/wil6210/cfg80211.c 	bool alive = (sta->status == wil_sta_connected);
sta              2316 drivers/net/wireless/ath/wil6210/cfg80211.c 	cfg80211_probe_status(ndev, sta->addr, req->cookie, alive,
sta              3245 drivers/net/wireless/ath/wil6210/cfg80211.c 				if (wil->sta[i].mid != vif->mid)
sta               184 drivers/net/wireless/ath/wil6210/debugfs.c 					   wil->sta[cid].addr, cid, tid,
sta               838 drivers/net/wireless/ath/wil6210/debugfs.c 		struct wil_sta_info *sta;
sta               851 drivers/net/wireless/ath/wil6210/debugfs.c 		sta = &wil->sta[p1];
sta               852 drivers/net/wireless/ath/wil6210/debugfs.c 		wmi_delba_rx(wil, sta->mid, p1, p2, p3);
sta              1428 drivers/net/wireless/ath/wil6210/debugfs.c 		struct wil_sta_info *p = &wil->sta[i];
sta              1630 drivers/net/wireless/ath/wil6210/debugfs.c 		struct wil_sta_info *p = &wil->sta[i];
sta              1705 drivers/net/wireless/ath/wil6210/debugfs.c DEFINE_SHOW_ATTRIBUTE(sta);
sta              1739 drivers/net/wireless/ath/wil6210/debugfs.c 		struct wil_sta_info *p = &wil->sta[i];
sta              1828 drivers/net/wireless/ath/wil6210/debugfs.c 			struct wil_sta_info *sta = &wil->sta[i];
sta              1830 drivers/net/wireless/ath/wil6210/debugfs.c 			kfree(sta->tx_latency_bins);
sta              1831 drivers/net/wireless/ath/wil6210/debugfs.c 			sta->tx_latency_bins = kzalloc(sz, GFP_KERNEL);
sta              1832 drivers/net/wireless/ath/wil6210/debugfs.c 			if (!sta->tx_latency_bins)
sta              1834 drivers/net/wireless/ath/wil6210/debugfs.c 			sta->stats.tx_latency_min_us = U32_MAX;
sta              1835 drivers/net/wireless/ath/wil6210/debugfs.c 			sta->stats.tx_latency_max_us = 0;
sta              1836 drivers/net/wireless/ath/wil6210/debugfs.c 			sta->stats.tx_latency_total_us = 0;
sta              1913 drivers/net/wireless/ath/wil6210/debugfs.c 		if (wil->sta[i].status == wil_sta_unused)
sta              1915 drivers/net/wireless/ath/wil6210/debugfs.c 		if (wil->sta[i].mid != vif->mid)
sta              1918 drivers/net/wireless/ath/wil6210/debugfs.c 		stats = &wil->sta[i].fw_stats_basic;
sta              2531 drivers/net/wireless/ath/wil6210/debugfs.c 		kfree(wil->sta[i].tx_latency_bins);
sta               245 drivers/net/wireless/ath/wil6210/main.c 		if (wil->sta[i].mid == mid &&
sta               246 drivers/net/wireless/ath/wil6210/main.c 		    wil->sta[i].status == wil_sta_connected)
sta               255 drivers/net/wireless/ath/wil6210/main.c __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
sta               261 drivers/net/wireless/ath/wil6210/main.c 	struct wil_sta_info *sta = &wil->sta[cid];
sta               267 drivers/net/wireless/ath/wil6210/main.c 		     cid, sta->mid, sta->status);
sta               269 drivers/net/wireless/ath/wil6210/main.c 	if (sta->status != wil_sta_unused) {
sta               270 drivers/net/wireless/ath/wil6210/main.c 		if (vif->mid != sta->mid) {
sta               279 drivers/net/wireless/ath/wil6210/main.c 			cfg80211_del_sta(ndev, sta->addr, GFP_KERNEL);
sta               284 drivers/net/wireless/ath/wil6210/main.c 		sta->status = wil_sta_unused;
sta               285 drivers/net/wireless/ath/wil6210/main.c 		sta->mid = U8_MAX;
sta               291 drivers/net/wireless/ath/wil6210/main.c 		spin_lock_bh(&sta->tid_rx_lock);
sta               293 drivers/net/wireless/ath/wil6210/main.c 		r = sta->tid_rx[i];
sta               294 drivers/net/wireless/ath/wil6210/main.c 		sta->tid_rx[i] = NULL;
sta               297 drivers/net/wireless/ath/wil6210/main.c 		spin_unlock_bh(&sta->tid_rx_lock);
sta               300 drivers/net/wireless/ath/wil6210/main.c 	memset(sta->tid_crypto_rx, 0, sizeof(sta->tid_crypto_rx));
sta               301 drivers/net/wireless/ath/wil6210/main.c 	memset(&sta->group_crypto_rx, 0, sizeof(sta->group_crypto_rx));
sta               308 drivers/net/wireless/ath/wil6210/main.c 	memset(&sta->stats, 0, sizeof(sta->stats));
sta               309 drivers/net/wireless/ath/wil6210/main.c 	sta->stats.tx_latency_min_us = U32_MAX;
sta               400 drivers/net/wireless/ath/wil6210/main.c 	struct wil_sta_info *sta = &wil->sta[cid];
sta               405 drivers/net/wireless/ath/wil6210/main.c 		     cid, sta->mid, sta->status);
sta               407 drivers/net/wireless/ath/wil6210/main.c 	if (sta->status == wil_sta_unused)
sta               410 drivers/net/wireless/ath/wil6210/main.c 	if (vif->mid != sta->mid) {
sta               422 drivers/net/wireless/ath/wil6210/main.c 	return wmi_disconnect_sta(vif, sta->addr, reason_code, del_sta);
sta               702 drivers/net/wireless/ath/wil6210/main.c 	memset(wil->sta, 0, sizeof(wil->sta));
sta               704 drivers/net/wireless/ath/wil6210/main.c 		spin_lock_init(&wil->sta[i].tid_rx_lock);
sta               705 drivers/net/wireless/ath/wil6210/main.c 		wil->sta[i].mid = U8_MAX;
sta              1946 drivers/net/wireless/ath/wil6210/main.c 		if (wil->sta[i].mid == mid &&
sta              1947 drivers/net/wireless/ath/wil6210/main.c 		    wil->sta[i].status != wil_sta_unused &&
sta              1948 drivers/net/wireless/ath/wil6210/main.c 		    ether_addr_equal(wil->sta[i].addr, mac)) {
sta                94 drivers/net/wireless/ath/wil6210/rx_reorder.c __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
sta               100 drivers/net/wireless/ath/wil6210/rx_reorder.c 	struct wil_sta_info *sta;
sta               107 drivers/net/wireless/ath/wil6210/rx_reorder.c 	sta = &wil->sta[cid];
sta               120 drivers/net/wireless/ath/wil6210/rx_reorder.c 	spin_lock(&sta->tid_rx_lock);
sta               122 drivers/net/wireless/ath/wil6210/rx_reorder.c 	r = sta->tid_rx[tid];
sta               221 drivers/net/wireless/ath/wil6210/rx_reorder.c 	spin_unlock(&sta->tid_rx_lock);
sta               228 drivers/net/wireless/ath/wil6210/rx_reorder.c 	struct wil_sta_info *sta = &wil->sta[cid];
sta               232 drivers/net/wireless/ath/wil6210/rx_reorder.c 	spin_lock(&sta->tid_rx_lock);
sta               234 drivers/net/wireless/ath/wil6210/rx_reorder.c 	r = sta->tid_rx[tid];
sta               249 drivers/net/wireless/ath/wil6210/rx_reorder.c 	spin_unlock(&sta->tid_rx_lock);
sta               312 drivers/net/wireless/ath/wil6210/rx_reorder.c __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
sta               317 drivers/net/wireless/ath/wil6210/rx_reorder.c 	struct wil_sta_info *sta;
sta               343 drivers/net/wireless/ath/wil6210/rx_reorder.c 	sta = &wil->sta[cid];
sta               344 drivers/net/wireless/ath/wil6210/rx_reorder.c 	if (sta->status != wil_sta_connected) {
sta               352 drivers/net/wireless/ath/wil6210/rx_reorder.c 		    cid, sta->addr, tid, req_agg_wsize, agg_timeout,
sta               375 drivers/net/wireless/ath/wil6210/rx_reorder.c 		spin_lock_bh(&sta->tid_rx_lock);
sta               376 drivers/net/wireless/ath/wil6210/rx_reorder.c 		wil_tid_ampdu_rx_free(wil, sta->tid_rx[tid]);
sta               377 drivers/net/wireless/ath/wil6210/rx_reorder.c 		sta->tid_rx[tid] = r;
sta               378 drivers/net/wireless/ath/wil6210/rx_reorder.c 		spin_unlock_bh(&sta->tid_rx_lock);
sta               430 drivers/net/wireless/ath/wil6210/txrx.c 		if (wil->sta[i].status != wil_sta_unused &&
sta               431 drivers/net/wireless/ath/wil6210/txrx.c 		    ether_addr_equal(wil->sta[i].addr, ta)) {
sta               531 drivers/net/wireless/ath/wil6210/txrx.c 	stats = &wil->sta[cid].stats;
sta               679 drivers/net/wireless/ath/wil6210/txrx.c 	struct wil_sta_info *s = &wil->sta[cid];
sta               838 drivers/net/wireless/ath/wil6210/txrx.c 	rc = wmi_add_cipher_key(vif, 0, wil->sta[cid].addr, 0, NULL,
sta              1010 drivers/net/wireless/ath/wil6210/txrx.c 	stats = &wil->sta[cid].stats;
sta              1549 drivers/net/wireless/ath/wil6210/txrx.c 	ether_addr_copy(da, wil->sta[cid].addr);
sta              1579 drivers/net/wireless/ath/wil6210/txrx.c 		if (0 == memcmp(wil->sta[cid].addr, src, ETH_ALEN))
sta              1606 drivers/net/wireless/ath/wil6210/txrx.c 		if (0 == memcmp(wil->sta[cid].addr, src, ETH_ALEN))
sta              2396 drivers/net/wireless/ath/wil6210/txrx.c 			 struct wil_sta_info *sta)
sta              2412 drivers/net/wireless/ath/wil6210/txrx.c 	sta->tx_latency_bins[bin]++;
sta              2413 drivers/net/wireless/ath/wil6210/txrx.c 	sta->stats.tx_latency_total_us += skb_time_us;
sta              2414 drivers/net/wireless/ath/wil6210/txrx.c 	if (skb_time_us < sta->stats.tx_latency_min_us)
sta              2415 drivers/net/wireless/ath/wil6210/txrx.c 		sta->stats.tx_latency_min_us = skb_time_us;
sta              2416 drivers/net/wireless/ath/wil6210/txrx.c 	if (skb_time_us > sta->stats.tx_latency_max_us)
sta              2417 drivers/net/wireless/ath/wil6210/txrx.c 		sta->stats.tx_latency_max_us = skb_time_us;
sta              2456 drivers/net/wireless/ath/wil6210/txrx.c 		stats = &wil->sta[cid].stats;
sta              2508 drivers/net/wireless/ath/wil6210/txrx.c 							&wil->sta[cid]);
sta               701 drivers/net/wireless/ath/wil6210/txrx.h 			 struct wil_sta_info *sta);
sta               561 drivers/net/wireless/ath/wil6210/txrx_edma.c 	s = &wil->sta[cid];
sta               966 drivers/net/wireless/ath/wil6210/txrx_edma.c 	stats = &wil->sta[cid].stats;
sta              1219 drivers/net/wireless/ath/wil6210/txrx_edma.c 		stats = (cid < wil->max_assoc_sta) ? &wil->sta[cid].stats :
sta              1261 drivers/net/wireless/ath/wil6210/txrx_edma.c 							&wil->sta[cid]);
sta              1006 drivers/net/wireless/ath/wil6210/wil6210.h 	struct wil_sta_info sta[WIL6210_MAX_CID];
sta              1040 drivers/net/wireless/ath/wil6210/wmi.c 		if (wil->sta[evt->cid].status != wil_sta_unused) {
sta              1042 drivers/net/wireless/ath/wil6210/wmi.c 				wil->sta[evt->cid].status, evt->cid);
sta              1048 drivers/net/wireless/ath/wil6210/wmi.c 	ether_addr_copy(wil->sta[evt->cid].addr, evt->bssid);
sta              1049 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[evt->cid].mid = vif->mid;
sta              1050 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[evt->cid].status = wil_sta_conn_pending;
sta              1056 drivers/net/wireless/ath/wil6210/wmi.c 		wmi_disconnect_sta(vif, wil->sta[evt->cid].addr,
sta              1116 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[evt->cid].status = wil_sta_connected;
sta              1117 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[evt->cid].aid = evt->aid;
sta              1124 drivers/net/wireless/ath/wil6210/wmi.c 		wil->sta[evt->cid].status = wil_sta_unused;
sta              1125 drivers/net/wireless/ath/wil6210/wmi.c 		wil->sta[evt->cid].mid = U8_MAX;
sta              1193 drivers/net/wireless/ath/wil6210/wmi.c 		stats = &wil->sta[cid].stats;
sta              1232 drivers/net/wireless/ath/wil6210/wmi.c 	struct wil_sta_info *sta;
sta              1262 drivers/net/wireless/ath/wil6210/wmi.c 	sta = &wil->sta[cid];
sta              1265 drivers/net/wireless/ath/wil6210/wmi.c 		wil_set_crypto_rx(0, WMI_KEY_USE_PAIRWISE, sta, &params);
sta              1325 drivers/net/wireless/ath/wil6210/wmi.c __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
sta              1331 drivers/net/wireless/ath/wil6210/wmi.c 	struct wil_sta_info *sta;
sta              1374 drivers/net/wireless/ath/wil6210/wmi.c 	sta = &wil->sta[cid];
sta              1376 drivers/net/wireless/ath/wil6210/wmi.c 	spin_lock_bh(&sta->tid_rx_lock);
sta              1378 drivers/net/wireless/ath/wil6210/wmi.c 	r = sta->tid_rx[tid];
sta              1379 drivers/net/wireless/ath/wil6210/wmi.c 	sta->tid_rx[tid] = NULL;
sta              1382 drivers/net/wireless/ath/wil6210/wmi.c 	spin_unlock_bh(&sta->tid_rx_lock);
sta              1466 drivers/net/wireless/ath/wil6210/wmi.c 	struct wil_sta_info *sta;
sta              1473 drivers/net/wireless/ath/wil6210/wmi.c 	sta = &wil->sta[cid];
sta              1474 drivers/net/wireless/ath/wil6210/wmi.c 	sta->fw_stats_basic = *basic;
sta              1695 drivers/net/wireless/ath/wil6210/wmi.c 		rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr,
sta              1701 drivers/net/wireless/ath/wil6210/wmi.c 		rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr,
sta              1825 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[cid].aid = data->aid;
sta              1826 drivers/net/wireless/ath/wil6210/wmi.c 	wil->sta[cid].stats.ft_roams++;
sta              1827 drivers/net/wireless/ath/wil6210/wmi.c 	ether_addr_copy(wil->sta[cid].addr, vif->bss->bssid);
sta              2133 drivers/net/wireless/atmel/at76c50x-usb.c 			struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               936 drivers/net/wireless/broadcom/b43/main.c 				   struct ieee80211_sta *sta,
sta               956 drivers/net/wireless/broadcom/b43/main.c 	if (WARN_ON(!sta))
sta               958 drivers/net/wireless/broadcom/b43/main.c 	keymac_write(dev, index, sta->addr);
sta              4155 drivers/net/wireless/broadcom/b43/main.c 			  struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              4229 drivers/net/wireless/broadcom/b43/main.c 			if (WARN_ON(!sta)) {
sta              4236 drivers/net/wireless/broadcom/b43/main.c 					    sta->addr, key);
sta              4271 drivers/net/wireless/broadcom/b43/main.c 		       sta ? sta->addr : bcast_addr);
sta              5103 drivers/net/wireless/broadcom/b43/main.c 				 struct ieee80211_sta *sta, bool set)
sta              5115 drivers/net/wireless/broadcom/b43/main.c 			      struct ieee80211_sta *sta)
sta              3503 drivers/net/wireless/broadcom/b43legacy/main.c 				       struct ieee80211_sta *sta, bool set)
sta                66 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	bool sta;
sta                71 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT);
sta                73 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	if ((!sta) && (is_multicast_ether_addr(da))) {
sta                77 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	if ((sta) && (flow->tdls_active) &&
sta                79 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 		sta = false;
sta                81 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	hash_idx =  sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) :
sta                87 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 		if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) &&
sta               112 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	bool sta;
sta               116 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT);
sta               118 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	if ((!sta) && (is_multicast_ether_addr(da))) {
sta               122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	if ((sta) && (flow->tdls_active) &&
sta               124 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 		sta = false;
sta               126 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	hash_idx =  sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) :
sta               441 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	bool sta;
sta               443 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 	sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT);
sta               449 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 			sta = false;
sta               458 drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c 		if ((sta || (memcmp(hash[i].mac, peer, ETH_ALEN) == 0)) &&
sta               148 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	struct ieee80211_sta *sta;
sta              1128 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	struct ieee80211_sta *sta = arg_a;
sta              1132 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	    (tx_info->rate_driver_data[0] == sta || sta == NULL))
sta              1141 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		     struct ieee80211_sta *sta, u16 tid)
sta              1143 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	brcms_c_inval_dma_pkts(wlc->hw, sta, dma_cb_fn_ampdu);
sta               417 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		tx_info->rate_driver_data[0] = control->sta;
sta               806 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 	       struct ieee80211_sta *sta)
sta               832 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 	struct ieee80211_sta *sta = params->sta;
sta               853 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               860 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		brcms_c_ampdu_flush(wl->wlc, sta, tid);
sta               862 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               874 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 			 sta->ht_cap.ampdu_factor)) - 1);
sta               947 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c 				 struct ieee80211_sta *sta, bool set)
sta              7562 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			       struct ieee80211_sta *sta,
sta              7570 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 			dma_walk_packets(dmah, dma_callback_fn, sta);
sta               634 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h 			    struct ieee80211_sta *sta, void (*dma_callback_fn));
sta               297 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h void brcms_c_ampdu_flush(struct brcms_c_info *wlc, struct ieee80211_sta *sta,
sta               344 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	void *sta = NULL;
sta               432 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 		sta = NULL;
sta               443 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 						       &sta);
sta               815 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 	if (sta)
sta               816 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 		hostap_handle_sta_release(sta);
sta               139 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
sta               141 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if ((il->stations[sta_id].sta.key.
sta               143 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		il->stations[sta_id].sta.key.key_offset =
sta               148 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
sta               151 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.key.key_flags = key_flags;
sta               152 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta               153 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta               157 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	ret = il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC);
sta               186 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	memset(&il->stations[sta_id].sta.key, 0, sizeof(struct il4965_keyinfo));
sta               187 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.key.key_flags = STA_KEY_FLG_NO_ENC;
sta               188 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta               189 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta               190 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta               448 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	      struct ieee80211_sta *sta,
sta               497 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	sta_id = il_sta_id_or_broadcast(il, sta);
sta              2864 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	if (il3945_tx_skb(il, control->sta, skb))
sta              2914 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		   struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              2942 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		sta_id = il_sta_id_or_broadcast(il, sta);
sta              2979 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		   struct ieee80211_sta *sta)
sta              2982 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	struct il3945_sta_priv *sta_priv = (void *)sta->drv_priv;
sta              2988 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	D_INFO("station %pM\n", sta->addr);
sta              2991 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	ret = il_add_station_common(il, sta->addr, is_ap, sta, &sta_id);
sta              2993 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		IL_ERR("Unable to add station %pM (%d)\n", sta->addr, ret);
sta              3002 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	D_INFO("Initializing rate scaling for station %pM\n", sta->addr);
sta              3003 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	il3945_rs_rate_init(il, sta, sta_id);
sta               319 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id)
sta               332 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	psta = (struct il3945_sta_priv *)sta->drv_priv;
sta               357 drivers/net/wireless/intel/iwlegacy/3945-rs.c 		if (sta->supp_rates[sband->band] & (1 << i)) {
sta               363 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	il->_3945.sta_supp_rates = sta->supp_rates[sband->band];
sta               389 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_alloc_sta(void *il_priv, struct ieee80211_sta *sta, gfp_t gfp)
sta               392 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	struct il3945_sta_priv *psta = (void *)sta->drv_priv;
sta               407 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_free_sta(void *il_priv, struct ieee80211_sta *sta, void *il_sta)
sta               427 drivers/net/wireless/intel/iwlegacy/3945-rs.c 		    struct ieee80211_sta *sta, void *il_sta,
sta               604 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_rs_get_rate(void *il_r, struct ieee80211_sta *sta, void *il_sta,
sta               634 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	rate_mask = sta->supp_rates[sband->band];
sta               859 drivers/net/wireless/intel/iwlegacy/3945-rs.c 			 struct ieee80211_sta *sta, void *il_sta)
sta               885 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	struct ieee80211_sta *sta;
sta               892 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	sta = ieee80211_find_sta(il->vif, il->stations[sta_id].sta.sta.addr);
sta               893 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	if (!sta) {
sta               899 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	psta = (void *)sta->drv_priv;
sta               741 drivers/net/wireless/intel/iwlegacy/3945.c 	station->sta.sta.modify_mask = STA_MODIFY_TX_RATE_MSK;
sta               742 drivers/net/wireless/intel/iwlegacy/3945.c 	station->sta.rate_n_flags = cpu_to_le16(tx_rate);
sta               743 drivers/net/wireless/intel/iwlegacy/3945.c 	station->sta.mode = STA_CONTROL_MODIFY_MSK;
sta               744 drivers/net/wireless/intel/iwlegacy/3945.c 	il_send_add_sta(il, &station->sta, CMD_ASYNC);
sta              2242 drivers/net/wireless/intel/iwlegacy/3945.c 	memcpy(&addsta->sta, &cmd->sta, sizeof(struct sta_id_modify));
sta              1539 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			 struct ieee80211_sta *sta,
sta              1574 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		rate_idx = rate_lowest_index(&il->bands[info->band], sta);
sta              1642 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	      struct ieee80211_sta *sta,
sta              1692 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		sta_id = il_sta_id_or_broadcast(il, sta);
sta              1702 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (sta)
sta              1703 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		sta_priv = (void *)sta->drv_priv;
sta              1797 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il4965_tx_cmd_build_rate(il, tx_cmd, info, sta, fc);
sta              2217 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		    struct ieee80211_sta *sta, u16 tid, u16 * ssn)
sta              2231 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_HT("%s on ra = %pM tid = %d\n", __func__, sta->addr, tid);
sta              2233 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id(sta);
sta              2268 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              2313 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		   struct ieee80211_sta *sta, u16 tid)
sta              2325 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id(sta);
sta              2384 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              2393 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u8 *addr = il->stations[sta_id].sta.sta.addr;
sta              2428 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	struct ieee80211_sta *sta;
sta              2432 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta = ieee80211_find_sta(il->vif, addr1);
sta              2433 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (sta) {
sta              2434 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		sta_priv = (void *)sta->drv_priv;
sta              2438 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			ieee80211_sta_block_awake(il->hw, sta, false);
sta              2583 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		    ether_addr_equal(il->stations[i].sta.sta.addr, addr)) {
sta              3257 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&il->stations[sta_id].sta.key.key[3], keyconf->key,
sta              3260 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if ((il->stations[sta_id].sta.key.
sta              3262 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->stations[sta_id].sta.key.key_offset =
sta              3267 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
sta              3270 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.key_flags = key_flags;
sta              3271 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              3272 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3274 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3306 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
sta              3308 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if ((il->stations[sta_id].sta.key.
sta              3310 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->stations[sta_id].sta.key.key_offset =
sta              3315 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
sta              3318 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.key_flags = key_flags;
sta              3319 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              3320 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3322 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3352 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if ((il->stations[sta_id].sta.key.
sta              3354 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->stations[sta_id].sta.key.key_offset =
sta              3359 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
sta              3362 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.key_flags = key_flags;
sta              3367 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(il->stations[sta_id].sta.key.key, keyconf->key, 16);
sta              3376 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		       struct ieee80211_sta *sta, u32 iv32, u16 *phase1key)
sta              3388 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id_or_broadcast(il, sta);
sta              3394 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.tkip_rx_tsc_byte2 = (u8) iv32;
sta              3397 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		il->stations[sta_id].sta.key.tkip_rx_ttak[i] =
sta              3400 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              3401 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3403 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC);
sta              3422 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	key_flags = le16_to_cpu(il->stations[sta_id].sta.key.key_flags);
sta              3437 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (il->stations[sta_id].sta.key.key_flags & STA_KEY_FLG_INVALID) {
sta              3445 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	    (il->stations[sta_id].sta.key.key_offset, &il->ucode_key_table))
sta              3447 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		       il->stations[sta_id].sta.key.key_offset);
sta              3449 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memset(&il->stations[sta_id].sta.key, 0, sizeof(struct il4965_keyinfo));
sta              3450 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.key_flags =
sta              3452 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.key.key_offset = keyconf->hw_key_idx;
sta              3453 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              3454 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3462 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3595 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_TID_DISABLE_TX;
sta              3596 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.tid_disable_tx &= cpu_to_le16(~(1 << tid));
sta              3597 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3598 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3606 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_sta_rx_agg_start(struct il_priv *il, struct ieee80211_sta *sta, int tid,
sta              3615 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id(sta);
sta              3620 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.station_flags_msk = 0;
sta              3621 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_ADDBA_TID_MSK;
sta              3622 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.add_immediate_ba_tid = (u8) tid;
sta              3623 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.add_immediate_ba_ssn = cpu_to_le16(ssn);
sta              3624 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3625 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3633 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_sta_rx_agg_stop(struct il_priv *il, struct ieee80211_sta *sta, int tid)
sta              3641 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id(sta);
sta              3648 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.station_flags_msk = 0;
sta              3649 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_DELBA_TID_MSK;
sta              3650 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.remove_immediate_ba_tid = (u8) tid;
sta              3651 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3652 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              3665 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.station_flags |= STA_FLG_PWR_SAVE_MSK;
sta              3666 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.station_flags_msk = STA_FLG_PWR_SAVE_MSK;
sta              3667 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sta.modify_mask =
sta              3669 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.sleep_tx_count = cpu_to_le16(cnt);
sta              3670 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              3671 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il_send_add_sta(il, &il->stations[sta_id].sta, CMD_ASYNC);
sta              5870 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (il4965_tx_skb(il, control->sta, skb))
sta              5879 drivers/net/wireless/intel/iwlegacy/4965-mac.c 			   struct ieee80211_sta *sta, u32 iv32, u16 * phase1key)
sta              5885 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il4965_update_tkip_key(il, keyconf, sta, iv32, phase1key);
sta              5892 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		   struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              5917 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	sta_id = il_sta_id_or_broadcast(il, sta);
sta              5931 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	     key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) {
sta              5972 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	struct ieee80211_sta *sta = params->sta;
sta              5977 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_HT("A-MPDU action on addr %pM tid %d\n", sta->addr, tid);
sta              5987 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		ret = il4965_sta_rx_agg_start(il, sta, tid, *ssn);
sta              5991 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		ret = il4965_sta_rx_agg_stop(il, sta, tid);
sta              5997 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		ret = il4965_tx_agg_start(il, vif, sta, tid, ssn);
sta              6003 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		ret = il4965_tx_agg_stop(il, vif, sta, tid);
sta              6018 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		   struct ieee80211_sta *sta)
sta              6021 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	struct il_station_priv *sta_priv = (void *)sta->drv_priv;
sta              6026 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_INFO("received request to add station %pM\n", sta->addr);
sta              6028 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_INFO("proceeding to add station %pM\n", sta->addr);
sta              6034 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	    il_add_station_common(il, sta->addr, is_ap, sta, &sta_id);
sta              6036 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		IL_ERR("Unable to add station %pM (%d)\n", sta->addr, ret);
sta              6045 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	D_INFO("Initializing rate scaling for station %pM\n", sta->addr);
sta              6046 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il4965_rs_rate_init(il, sta, sta_id);
sta               128 drivers/net/wireless/intel/iwlegacy/4965-rs.c 					 struct ieee80211_sta *sta,
sta               339 drivers/net/wireless/intel/iwlegacy/4965-rs.c 				 u8 tid, struct ieee80211_sta *sta)
sta               347 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		D_HT("Starting Tx agg: STA: %pM tid: %d\n", sta->addr, tid);
sta               348 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		ret = ieee80211_start_tx_ba_session(sta, tid, 5000);
sta               356 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			ieee80211_stop_tx_ba_session(sta, tid);
sta               367 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			 struct ieee80211_sta *sta)
sta               370 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		il4965_rs_tl_turn_on_agg_for_tid(il, lq_data, tid, sta);
sta               628 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_use_green(struct il_priv *il, struct ieee80211_sta *sta)
sta               630 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	return (sta->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) &&
sta               792 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    struct ieee80211_sta *sta, void *il_sta,
sta               973 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (sta->supp_rates[sband->band])
sta               974 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		il4965_rs_rate_scale_perform(il, skb, sta, lq_sta);
sta              1160 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			  struct ieee80211_sta *sta,
sta              1167 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported)
sta              1170 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta              1185 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (il_is_ht40_tx_allowed(il, &sta->ht_cap))
sta              1213 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			 struct ieee80211_conf *conf, struct ieee80211_sta *sta,
sta              1220 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported)
sta              1231 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (il_is_ht40_tx_allowed(il, &sta->ht_cap))
sta              1261 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    struct ieee80211_sta *sta, int idx)
sta              1315 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    il4965_rs_switch_to_siso(il, lq_sta, conf, sta,
sta              1344 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    il4965_rs_switch_to_mimo2(il, lq_sta, conf, sta,
sta              1380 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			     struct ieee80211_sta *sta, int idx)
sta              1387 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              1441 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    il4965_rs_switch_to_mimo2(il, lq_sta, conf, sta,
sta              1503 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			      struct ieee80211_sta *sta, int idx)
sta              1510 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              1562 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    il4965_rs_switch_to_siso(il, lq_sta, conf, sta,
sta              1726 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			     struct ieee80211_sta *sta,
sta              1763 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->supp_rates = sta->supp_rates[lq_sta->band];
sta              1789 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		lq_sta->is_green = il4965_rs_use_green(il, sta);
sta              2050 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			il4965_rs_move_legacy_other(il, lq_sta, conf, sta, idx);
sta              2052 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			il4965_rs_move_siso_to_other(il, lq_sta, conf, sta,
sta              2055 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			il4965_rs_move_mimo2_to_other(il, lq_sta, conf, sta,
sta              2103 drivers/net/wireless/intel/iwlegacy/4965-rs.c 								 lq_sta, sta);
sta              2133 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			struct ieee80211_sta *sta, struct il_lq_sta *lq_sta)
sta              2143 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	if (!sta || !lq_sta)
sta              2146 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	use_green = il4965_rs_use_green(il, sta);
sta              2182 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_rate(void *il_r, struct ieee80211_sta *sta, void *il_sta,
sta              2242 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			rate_idx = rate_lowest_index(sband, sta);
sta              2253 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_alloc_sta(void *il_rate, struct ieee80211_sta *sta, gfp_t gfp)
sta              2256 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    (struct il_station_priv *)sta->drv_priv;
sta              2269 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta, u8 sta_id)
sta              2274 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              2279 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	sta_priv = (struct il_station_priv *)sta->drv_priv;
sta              2291 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->supp_rates = sta->supp_rates[sband->band];
sta              2307 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->is_green = il4965_rs_use_green(il, sta);
sta              2343 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	lq_sta->last_txrate_idx = rate_lowest_index(sband, sta);
sta              2352 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	il4965_rs_initialize_lq(il, conf, sta, lq_sta);
sta              2490 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_free_sta(void *il_r, struct ieee80211_sta *sta, void *il_sta)
sta              2771 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			 struct ieee80211_sta *sta, void *il_sta)
sta              1706 drivers/net/wireless/intel/iwlegacy/4965.c 	memcpy(&addsta->sta, &cmd->sta, sizeof(struct sta_id_modify));
sta                64 drivers/net/wireless/intel/iwlegacy/4965.h 		  struct ieee80211_sta *sta,
sta                67 drivers/net/wireless/intel/iwlegacy/4965.h 			struct ieee80211_sta *sta, u16 tid, u16 * ssn);
sta                69 drivers/net/wireless/intel/iwlegacy/4965.h 		       struct ieee80211_sta *sta, u16 tid);
sta               126 drivers/net/wireless/intel/iwlegacy/4965.h 			    struct ieee80211_sta *sta, u32 iv32,
sta               129 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_sta_rx_agg_start(struct il_priv *il, struct ieee80211_sta *sta,
sta               131 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_sta_rx_agg_stop(struct il_priv *il, struct ieee80211_sta *sta,
sta               159 drivers/net/wireless/intel/iwlegacy/4965.h 		       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               164 drivers/net/wireless/intel/iwlegacy/4965.h 				struct ieee80211_sta *sta, u32 iv32,
sta               169 drivers/net/wireless/intel/iwlegacy/4965.h 		       struct ieee80211_sta *sta);
sta               959 drivers/net/wireless/intel/iwlegacy/commands.h 	struct sta_id_modify sta;
sta               987 drivers/net/wireless/intel/iwlegacy/commands.h 	struct sta_id_modify sta;
sta              1025 drivers/net/wireless/intel/iwlegacy/commands.h 	struct sta_id_modify sta;
sta              1744 drivers/net/wireless/intel/iwlegacy/common.c 		       sta_id, il->stations[sta_id].sta.sta.addr);
sta              1749 drivers/net/wireless/intel/iwlegacy/common.c 			il->stations[sta_id].sta.sta.addr);
sta              1753 drivers/net/wireless/intel/iwlegacy/common.c 			il->stations[sta_id].sta.sta.addr);
sta              1761 drivers/net/wireless/intel/iwlegacy/common.c 	u8 sta_id = addsta->sta.sta_id;
sta              1797 drivers/net/wireless/intel/iwlegacy/common.c 	       il->stations[sta_id].sta.mode ==
sta              1799 drivers/net/wireless/intel/iwlegacy/common.c 	       il->stations[sta_id].sta.sta.addr);
sta              1810 drivers/net/wireless/intel/iwlegacy/common.c 	       il->stations[sta_id].sta.mode ==
sta              1811 drivers/net/wireless/intel/iwlegacy/common.c 	       STA_CONTROL_MODIFY_MSK ? "Modified" : "Added", addsta->sta.addr);
sta              1828 drivers/net/wireless/intel/iwlegacy/common.c il_send_add_sta(struct il_priv *il, struct il_addsta_cmd *sta, u8 flags)
sta              1832 drivers/net/wireless/intel/iwlegacy/common.c 	u8 data[sizeof(*sta)];
sta              1838 drivers/net/wireless/intel/iwlegacy/common.c 	u8 sta_id __maybe_unused = sta->sta.sta_id;
sta              1840 drivers/net/wireless/intel/iwlegacy/common.c 	D_INFO("Adding sta %u (%pM) %ssynchronously\n", sta_id, sta->sta.addr,
sta              1850 drivers/net/wireless/intel/iwlegacy/common.c 	cmd.len = il->ops->build_addsta_hcmd(sta, data);
sta              1858 drivers/net/wireless/intel/iwlegacy/common.c 	ret = il_process_add_sta_resp(il, sta, pkt, true);
sta              1867 drivers/net/wireless/intel/iwlegacy/common.c il_set_ht_add_station(struct il_priv *il, u8 idx, struct ieee80211_sta *sta)
sta              1869 drivers/net/wireless/intel/iwlegacy/common.c 	struct ieee80211_sta_ht_cap *sta_ht_inf = &sta->ht_cap;
sta              1872 drivers/net/wireless/intel/iwlegacy/common.c 	if (!sta || !sta_ht_inf->ht_supported)
sta              1876 drivers/net/wireless/intel/iwlegacy/common.c 		(sta->smps_mode == IEEE80211_SMPS_STATIC) ? "static" :
sta              1877 drivers/net/wireless/intel/iwlegacy/common.c 		(sta->smps_mode == IEEE80211_SMPS_DYNAMIC) ? "dynamic" :
sta              1880 drivers/net/wireless/intel/iwlegacy/common.c 	sta_flags = il->stations[idx].sta.station_flags;
sta              1884 drivers/net/wireless/intel/iwlegacy/common.c 	switch (sta->smps_mode) {
sta              1894 drivers/net/wireless/intel/iwlegacy/common.c 		IL_WARN("Invalid MIMO PS mode %d\n", sta->smps_mode);
sta              1906 drivers/net/wireless/intel/iwlegacy/common.c 	if (il_is_ht40_tx_allowed(il, &sta->ht_cap))
sta              1911 drivers/net/wireless/intel/iwlegacy/common.c 	il->stations[idx].sta.station_flags = sta_flags;
sta              1923 drivers/net/wireless/intel/iwlegacy/common.c 		struct ieee80211_sta *sta)
sta              1936 drivers/net/wireless/intel/iwlegacy/common.c 			if (ether_addr_equal(il->stations[i].sta.sta.addr,
sta              1966 drivers/net/wireless/intel/iwlegacy/common.c 	    ether_addr_equal(il->stations[sta_id].sta.sta.addr, addr)) {
sta              1978 drivers/net/wireless/intel/iwlegacy/common.c 	memset(&station->sta, 0, sizeof(struct il_addsta_cmd));
sta              1979 drivers/net/wireless/intel/iwlegacy/common.c 	memcpy(station->sta.sta.addr, addr, ETH_ALEN);
sta              1980 drivers/net/wireless/intel/iwlegacy/common.c 	station->sta.mode = 0;
sta              1981 drivers/net/wireless/intel/iwlegacy/common.c 	station->sta.sta.sta_id = sta_id;
sta              1982 drivers/net/wireless/intel/iwlegacy/common.c 	station->sta.station_flags = 0;
sta              1989 drivers/net/wireless/intel/iwlegacy/common.c 	il_set_ht_add_station(il, sta_id, sta);
sta              1994 drivers/net/wireless/intel/iwlegacy/common.c 	station->sta.rate_n_flags = cpu_to_le16(rate | RATE_MCS_ANT_AB_MSK);
sta              2008 drivers/net/wireless/intel/iwlegacy/common.c 		      struct ieee80211_sta *sta, u8 *sta_id_r)
sta              2017 drivers/net/wireless/intel/iwlegacy/common.c 	sta_id = il_prep_station(il, addr, is_ap, sta);
sta              2044 drivers/net/wireless/intel/iwlegacy/common.c 	memcpy(&sta_cmd, &il->stations[sta_id].sta,
sta              2053 drivers/net/wireless/intel/iwlegacy/common.c 		       il->stations[sta_id].sta.sta.addr);
sta              2257 drivers/net/wireless/intel/iwlegacy/common.c 				il->stations[i].sta.sta.addr);
sta              2258 drivers/net/wireless/intel/iwlegacy/common.c 			il->stations[i].sta.mode = 0;
sta              2266 drivers/net/wireless/intel/iwlegacy/common.c 			memcpy(&sta_cmd, &il->stations[i].sta,
sta              2279 drivers/net/wireless/intel/iwlegacy/common.c 				       il->stations[i].sta.sta.addr);
sta              2447 drivers/net/wireless/intel/iwlegacy/common.c 		  struct ieee80211_sta *sta)
sta              2450 drivers/net/wireless/intel/iwlegacy/common.c 	struct il_station_priv_common *sta_common = (void *)sta->drv_priv;
sta              2454 drivers/net/wireless/intel/iwlegacy/common.c 	D_MAC80211("enter station %pM\n", sta->addr);
sta              2456 drivers/net/wireless/intel/iwlegacy/common.c 	ret = il_remove_station(il, sta_common->sta_id, sta->addr);
sta              2458 drivers/net/wireless/intel/iwlegacy/common.c 		IL_ERR("Error removing station %pM\n", sta->addr);
sta              5214 drivers/net/wireless/intel/iwlegacy/common.c 	struct ieee80211_sta *sta;
sta              5233 drivers/net/wireless/intel/iwlegacy/common.c 		sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta              5234 drivers/net/wireless/intel/iwlegacy/common.c 		if (sta) {
sta              5235 drivers/net/wireless/intel/iwlegacy/common.c 			struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               706 drivers/net/wireless/intel/iwlegacy/common.h 	struct il_addsta_cmd sta;
sta              2117 drivers/net/wireless/intel/iwlegacy/common.h int il_send_add_sta(struct il_priv *il, struct il_addsta_cmd *sta, u8 flags);
sta              2119 drivers/net/wireless/intel/iwlegacy/common.h 			  struct ieee80211_sta *sta, u8 *sta_id_r);
sta              2122 drivers/net/wireless/intel/iwlegacy/common.h 		      struct ieee80211_sta *sta);
sta              2125 drivers/net/wireless/intel/iwlegacy/common.h 		   struct ieee80211_sta *sta);
sta              2152 drivers/net/wireless/intel/iwlegacy/common.h il_sta_id(struct ieee80211_sta *sta)
sta              2154 drivers/net/wireless/intel/iwlegacy/common.h 	if (WARN_ON(!sta))
sta              2157 drivers/net/wireless/intel/iwlegacy/common.h 	return ((struct il_station_priv_common *)sta->drv_priv)->sta_id;
sta              2172 drivers/net/wireless/intel/iwlegacy/common.h il_sta_id_or_broadcast(struct il_priv *il, struct ieee80211_sta *sta)
sta              2176 drivers/net/wireless/intel/iwlegacy/common.h 	if (!sta)
sta              2179 drivers/net/wireless/intel/iwlegacy/common.h 	sta_id = il_sta_id(sta);
sta              2865 drivers/net/wireless/intel/iwlegacy/common.h void il4965_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta,
sta              2867 drivers/net/wireless/intel/iwlegacy/common.h void il3945_rs_rate_init(struct il_priv *il, struct ieee80211_sta *sta,
sta               416 drivers/net/wireless/intel/iwlegacy/debug.c 			      station->sta.sta.addr,
sta               417 drivers/net/wireless/intel/iwlegacy/debug.c 			      station->sta.station_flags_msk);
sta               203 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 		  struct ieee80211_sta *sta,
sta               206 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			struct ieee80211_sta *sta, u16 tid, u16 *ssn);
sta               208 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			struct ieee80211_sta *sta, u16 tid, u8 buf_size);
sta               210 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 		       struct ieee80211_sta *sta, u16 tid);
sta               212 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			struct ieee80211_sta *sta, u16 tid);
sta               311 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 		     struct iwl_addsta_cmd *sta, u8 flags);
sta               314 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			   struct ieee80211_sta *sta, u8 *sta_id_r);
sta               320 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 		    const u8 *addr, bool is_ap, struct ieee80211_sta *sta);
sta               326 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 		      struct ieee80211_sta *sta);
sta               330 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			    struct ieee80211_sta *sta);
sta               332 drivers/net/wireless/intel/iwlwifi/dvm/agn.h static inline int iwl_sta_id(struct ieee80211_sta *sta)
sta               334 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 	if (WARN_ON(!sta))
sta               337 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 	return ((struct iwl_station_priv *)sta->drv_priv)->sta_id;
sta               354 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			struct ieee80211_sta *sta);
sta               357 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			   struct ieee80211_sta *sta);
sta               361 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 			 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key);
sta               363 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta,
sta               365 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta,
sta               894 drivers/net/wireless/intel/iwlwifi/dvm/commands.h 	struct sta_id_modify sta;
sta               212 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				 i, station->sta.sta.addr,
sta               213 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				 station->sta.station_flags_msk);
sta               181 drivers/net/wireless/intel/iwlwifi/dvm/dev.h 	struct iwl_addsta_cmd sta;
sta               878 drivers/net/wireless/intel/iwlwifi/dvm/lib.c 			       struct ieee80211_sta *sta,
sta               898 drivers/net/wireless/intel/iwlwifi/dvm/lib.c 	     !sta && !ctx->key_mapping_keys)
sta               901 drivers/net/wireless/intel/iwlwifi/dvm/lib.c 		ret = iwl_set_dynamic_key(priv, ctx, key, sta);
sta               910 drivers/net/wireless/intel/iwlwifi/dvm/lib.c 		if (sta) {
sta               965 drivers/net/wireless/intel/iwlwifi/dvm/lib.c 		if (sta) {
sta               585 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	if (iwlagn_tx_skb(priv, control->sta, skb))
sta               592 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				       struct ieee80211_sta *sta,
sta               597 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key);
sta               602 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			      struct ieee80211_sta *sta,
sta               658 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	     key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) {
sta               673 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta);
sta               689 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			ret = iwl_remove_dynamic_key(priv, ctx, key, sta);
sta               709 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	struct ieee80211_sta *sta = params->sta;
sta               714 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	struct iwl_station_priv *sta_priv = (void *) sta->drv_priv;
sta               717 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		     sta->addr, tid);
sta               730 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwl_sta_rx_agg_start(priv, sta, tid, *ssn);
sta               734 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwl_sta_rx_agg_stop(priv, sta, tid);
sta               742 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_tx_agg_start(priv, vif, sta, tid, ssn);
sta               747 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_tx_agg_flush(priv, vif, sta, tid);
sta               751 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_tx_agg_stop(priv, vif, sta, tid);
sta               769 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_tx_agg_oper(priv, vif, sta, tid, buf_size);
sta               779 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			      struct ieee80211_sta *sta)
sta               782 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta               789 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			sta->addr);
sta               796 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	ret = iwl_add_station_common(priv, vif_priv->ctx, sta->addr,
sta               797 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				     is_ap, sta, &sta_id);
sta               800 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			sta->addr, ret);
sta               812 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				 struct ieee80211_sta *sta)
sta               815 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta               818 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	IWL_DEBUG_INFO(priv, "proceeding to remove station %pM\n", sta->addr);
sta               827 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr);
sta               829 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr);
sta               832 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				"Error removing station %pM\n", sta->addr);
sta               839 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				struct ieee80211_sta *sta,
sta               851 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			   sta->addr, old_state, new_state);
sta               875 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_mac_sta_add(hw, vif, sta);
sta               885 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		priv->stations[iwl_sta_id(sta)].used &=
sta               890 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_mac_sta_remove(hw, vif, sta);
sta               893 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwlagn_mac_sta_add(hw, vif, sta);
sta               899 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			       sta->addr);
sta               900 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		iwl_rs_rate_init(priv, sta, iwl_sta_id(sta));
sta               905 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		ret = iwl_sta_update_ht(priv, vif_priv->ctx, sta);
sta               910 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			       sta->addr);
sta               911 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		iwl_rs_rate_init(priv, sta, iwl_sta_id(sta));
sta              1150 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			      struct ieee80211_sta *sta, bool set)
sta              1536 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		.sta.sta_id = sta_id,
sta              1545 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				  struct ieee80211_sta *sta)
sta              1548 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              1558 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			ieee80211_sta_block_awake(hw, sta, true);
sta              1565 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		sta_id = iwl_sta_id(sta);
sta               137 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				   struct ieee80211_sta *sta,
sta               380 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				      struct ieee80211_sta *sta)
sta               398 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			sta->addr, tid);
sta               399 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	ret = ieee80211_start_tx_ba_session(sta, tid, 5000);
sta               408 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		ieee80211_stop_tx_ba_session(sta, tid);
sta               415 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			      struct ieee80211_sta *sta)
sta               418 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		rs_tl_turn_on_agg_for_tid(priv, lq_data, tid, sta);
sta               679 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static bool rs_use_green(struct ieee80211_sta *sta)
sta               877 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			 struct ieee80211_sta *sta, void *priv_sta,
sta               893 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              1056 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (sta && sta->supp_rates[sband->band])
sta              1057 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		rs_rate_scale_perform(priv, skb, sta, lq_sta);
sta              1247 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			     struct ieee80211_sta *sta,
sta              1253 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              1256 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported)
sta              1259 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta              1274 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
sta              1302 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			     struct ieee80211_sta *sta,
sta              1308 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              1311 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported)
sta              1314 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta              1329 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
sta              1358 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			     struct ieee80211_sta *sta,
sta              1364 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              1367 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (!conf_is_ht(conf) || !sta->ht_cap.ht_supported)
sta              1378 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
sta              1407 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				 struct ieee80211_sta *sta,
sta              1499 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
sta              1526 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
sta              1546 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
sta              1580 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				  struct ieee80211_sta *sta, int index)
sta              1587 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              1675 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
sta              1719 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
sta              1750 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				   struct ieee80211_sta *sta, int index)
sta              1757 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              1839 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
sta              1886 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo3(priv, lq_sta, conf, sta,
sta              1918 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				   struct ieee80211_sta *sta, int index)
sta              1925 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              2005 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_siso(priv, lq_sta, conf, sta,
sta              2029 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			ret = rs_switch_to_mimo2(priv, lq_sta, conf, sta,
sta              2190 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 				  struct ieee80211_sta *sta,
sta              2218 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (void *)sta->drv_priv;
sta              2229 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->supp_rates = sta->supp_rates[lq_sta->band];
sta              2256 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		lq_sta->is_green = rs_use_green(sta);
sta              2557 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rs_move_legacy_other(priv, lq_sta, conf, sta, index);
sta              2559 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rs_move_siso_to_other(priv, lq_sta, conf, sta, index);
sta              2561 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rs_move_mimo2_to_other(priv, lq_sta, conf, sta, index);
sta              2563 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rs_move_mimo3_to_other(priv, lq_sta, conf, sta, index);
sta              2612 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 							  lq_sta, sta);
sta              2639 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			     struct ieee80211_sta *sta,
sta              2646 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	u8 use_green = rs_use_green(sta);
sta              2652 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	if (!sta || !lq_sta)
sta              2655 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	sta_priv = (void *)sta->drv_priv;
sta              2691 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void rs_get_rate(void *priv_r, struct ieee80211_sta *sta, void *priv_sta,
sta              2749 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			rate_idx = rate_lowest_index(sband, sta);
sta              2759 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void *rs_alloc_sta(void *priv_rate, struct ieee80211_sta *sta,
sta              2762 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct iwl_station_priv *sta_priv = (struct iwl_station_priv *) sta->drv_priv;
sta              2775 drivers/net/wireless/intel/iwlwifi/dvm/rs.c void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 sta_id)
sta              2780 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              2786 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	sta_priv = (struct iwl_station_priv *) sta->drv_priv;
sta              2798 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->supp_rates = sta->supp_rates[sband->band];
sta              2810 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->is_green = rs_use_green(sta);
sta              2815 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	supp = sta->supp_rates[sband->band];
sta              2863 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	lq_sta->last_txrate_idx = rate_lowest_index(sband, sta);
sta              2871 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	rs_initialize_lq(priv, sta, lq_sta);
sta              3032 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static void rs_free_sta(void *priv_r, struct ieee80211_sta *sta,
sta              3279 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			      struct ieee80211_sta *sta, void *priv_sta)
sta               384 drivers/net/wireless/intel/iwlwifi/dvm/rs.h void iwl_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta,
sta              1265 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 	struct ieee80211_sta *sta;
sta              1275 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta              1276 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		if (!sta) {
sta              1288 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c 		ht_cap = &sta->ht_cap;
sta                33 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			sta_id, priv->stations[sta_id].sta.sta.addr);
sta                39 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 				sta_id, priv->stations[sta_id].sta.sta.addr);
sta                43 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 				sta_id, priv->stations[sta_id].sta.sta.addr);
sta                88 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		     struct iwl_addsta_cmd *sta, u8 flags)
sta                94 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		.data = { sta, },
sta                95 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		.len = { sizeof(*sta), },
sta                97 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	u8 sta_id __maybe_unused = sta->sta.sta_id;
sta               102 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		       sta_id, sta->sta.addr, flags & CMD_ASYNC ?  "a" : "");
sta               133 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			    struct ieee80211_sta *sta)
sta               144 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	if (!sta)
sta               147 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	return sta->bandwidth >= IEEE80211_STA_RX_BW_40;
sta               151 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 				  struct ieee80211_sta *sta,
sta               155 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	struct ieee80211_sta_ht_cap *sta_ht_inf = &sta->ht_cap;
sta               164 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	if (!sta || !sta_ht_inf->ht_supported)
sta               168 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			sta->addr,
sta               169 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			(sta->smps_mode == IEEE80211_SMPS_STATIC) ?
sta               171 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			(sta->smps_mode == IEEE80211_SMPS_DYNAMIC) ?
sta               174 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	switch (sta->smps_mode) {
sta               184 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		IWL_WARN(priv, "Invalid MIMO PS mode %d\n", sta->smps_mode);
sta               194 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	if (iwl_is_ht40_tx_allowed(priv, ctx, sta))
sta               199 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		      struct ieee80211_sta *sta)
sta               201 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	u8 sta_id = iwl_sta_id(sta);
sta               208 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	iwl_sta_calc_ht_flags(priv, sta, ctx, &flags, &mask);
sta               211 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.station_flags &= ~mask;
sta               212 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.station_flags |= flags;
sta               219 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	cmd.sta.sta_id = sta_id;
sta               225 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 				   struct ieee80211_sta *sta,
sta               230 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	iwl_sta_calc_ht_flags(priv, sta, ctx, &flags, &mask);
sta               233 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[index].sta.station_flags &= ~mask;
sta               234 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[index].sta.station_flags |= flags;
sta               243 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		    const u8 *addr, bool is_ap, struct ieee80211_sta *sta)
sta               255 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			if (ether_addr_equal(priv->stations[i].sta.sta.addr,
sta               286 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	    ether_addr_equal(priv->stations[sta_id].sta.sta.addr, addr)) {
sta               299 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memset(&station->sta, 0, sizeof(struct iwl_addsta_cmd));
sta               300 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(station->sta.sta.addr, addr, ETH_ALEN);
sta               301 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	station->sta.mode = 0;
sta               302 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	station->sta.sta.sta_id = sta_id;
sta               303 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	station->sta.station_flags = ctx->station_flags;
sta               306 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	if (sta) {
sta               309 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		sta_priv = (void *)sta->drv_priv;
sta               318 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	iwl_set_ht_add_station(priv, sta_id, sta, ctx);
sta               331 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			   struct ieee80211_sta *sta, u8 *sta_id_r)
sta               339 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	sta_id = iwl_prep_station(priv, ctx, addr, is_ap, sta);
sta               368 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta,
sta               377 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			priv->stations[sta_id].sta.sta.addr);
sta               671 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 					priv->stations[i].sta.sta.addr);
sta               672 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			priv->stations[i].sta.mode = 0;
sta               680 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			memcpy(&sta_cmd, &priv->stations[i].sta,
sta               698 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 					priv->stations[i].sta.sta.addr);
sta              1064 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			    struct ieee80211_sta *sta)
sta              1068 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	if (sta)
sta              1069 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		return iwl_sta_id(sta);
sta              1092 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd));
sta              1130 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              1138 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			 struct ieee80211_sta *sta, u32 iv32, u16 *phase1key)
sta              1140 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	u8 sta_id = iwlagn_key_sta_id(priv, vif, sta);
sta              1158 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			   struct ieee80211_sta *sta)
sta              1161 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta);
sta              1169 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(sta_cmd));
sta              1197 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK;
sta              1206 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			struct ieee80211_sta *sta)
sta              1211 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta);
sta              1227 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		if (sta)
sta              1228 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 			addr = sta->addr;
sta              1256 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		      sta ? sta->addr : NULL, ret);
sta              1355 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_TID_DISABLE_TX;
sta              1356 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.tid_disable_tx &= cpu_to_le16(~(1 << tid));
sta              1357 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              1358 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd));
sta              1364 drivers/net/wireless/intel/iwlwifi/dvm/sta.c int iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta,
sta              1372 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	sta_id = iwl_sta_id(sta);
sta              1377 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.station_flags_msk = 0;
sta              1378 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_ADDBA_TID_MSK;
sta              1379 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.add_immediate_ba_tid = (u8)tid;
sta              1380 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.add_immediate_ba_ssn = cpu_to_le16(ssn);
sta              1381 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              1382 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd));
sta              1388 drivers/net/wireless/intel/iwlwifi/dvm/sta.c int iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta,
sta              1396 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	sta_id = iwl_sta_id(sta);
sta              1403 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.station_flags_msk = 0;
sta              1404 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.sta.modify_mask = STA_MODIFY_DELBA_TID_MSK;
sta              1405 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.remove_immediate_ba_tid = (u8)tid;
sta              1406 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK;
sta              1407 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 	memcpy(&sta_cmd, &priv->stations[sta_id].sta, sizeof(struct iwl_addsta_cmd));
sta              1421 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		.sta.sta_id = sta_id,
sta              1422 drivers/net/wireless/intel/iwlwifi/dvm/sta.c 		.sta.modify_mask = STA_MODIFY_SLEEP_TX_COUNT_MSK,
sta               112 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 				     struct ieee80211_sta *sta,
sta               161 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 				&priv->nvm_data->bands[info->band], sta);
sta               241 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 				   struct ieee80211_sta *sta)
sta               245 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	if (!sta)
sta               248 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	sta_id = iwl_sta_id(sta);
sta               263 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		  struct ieee80211_sta *sta,
sta               317 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		sta_id = iwl_sta_id_or_broadcast(ctx, sta);
sta               325 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	if (sta)
sta               326 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		sta_priv = (void *)sta->drv_priv;
sta               364 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	iwlagn_tx_cmd_build_rate(priv, tx_cmd, info, sta, fc);
sta               487 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			struct ieee80211_sta *sta, u16 tid)
sta               493 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	sta_id = iwl_sta_id(sta);
sta               572 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               578 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			struct ieee80211_sta *sta, u16 tid, u16 *ssn)
sta               585 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		     sta->addr, tid);
sta               587 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	sta_id = iwl_sta_id(sta);
sta               604 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			sta->addr, tid);
sta               623 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               637 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			struct ieee80211_sta *sta, u16 tid)
sta               642 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	sta_id = iwl_sta_id(sta);
sta               682 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			struct ieee80211_sta *sta, u16 tid, u8 buf_size)
sta               684 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	struct iwl_station_priv *sta_priv = (void *) sta->drv_priv;
sta               739 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		 sta->addr, tid);
sta               754 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	addr = priv->stations[sta_id].sta.sta.addr;
sta               791 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	struct ieee80211_sta *sta;
sta               795 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	sta = ieee80211_find_sta(ctx->vif, addr1);
sta               796 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 	if (sta) {
sta               797 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 		sta_priv = (void *)sta->drv_priv;
sta               801 drivers/net/wireless/intel/iwlwifi/dvm/tx.c 			ieee80211_sta_block_awake(priv->hw, sta, false);
sta               242 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h 	struct iwl_mac_data_sta sta;
sta               381 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h 		struct iwl_mac_data_sta sta;
sta               609 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 				struct ieee80211_sta *sta)
sta               611 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               633 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 				     struct ieee80211_sta *sta)
sta               635 drivers/net/wireless/intel/iwlwifi/mvm/coex.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               170 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 					struct ieee80211_sta *sta,
sta               250 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 		if (sta) {
sta               307 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 		if (sta) {
sta               323 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 		if (sta && iwl_mvm_has_new_rx_api(mvm)) {
sta               328 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 			mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               371 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 			ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 0);
sta               381 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 			ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 1);
sta              1276 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 				   struct ieee80211_sta *sta,
sta              1283 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 	if (sta && iwl_mvm_has_new_rx_api(mvm)) {
sta              1287 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 		mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1358 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 				   struct ieee80211_sta *sta,
sta              1388 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 	if (sta) {
sta              1399 drivers/net/wireless/intel/iwlwifi/mvm/d3.c 					       sta, key);
sta               401 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct ieee80211_sta *sta;
sta               409 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta               411 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		if (!sta)
sta               413 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		else if (IS_ERR(sta))
sta               415 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					 PTR_ERR(sta));
sta               418 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 					 sta->addr);
sta               429 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct ieee80211_sta *sta = file->private_data;
sta               430 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               470 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c static ssize_t iwl_dbgfs_amsdu_len_write(struct ieee80211_sta *sta,
sta               474 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               482 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		mvmsta->orig_amsdu_len = sta->max_amsdu_len;
sta               483 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		sta->max_amsdu_len = amsdu_len;
sta               484 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		for (i = 0; i < ARRAY_SIZE(sta->max_tid_amsdu_len); i++)
sta               485 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			sta->max_tid_amsdu_len[i] = amsdu_len;
sta               487 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		sta->max_amsdu_len = mvmsta->orig_amsdu_len;
sta               497 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct ieee80211_sta *sta = file->private_data;
sta               498 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               503 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	pos = scnprintf(buf, sizeof(buf), "current %d ", sta->max_amsdu_len);
sta              1584 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		debugfs_create_file(alias, mode, parent, sta,		\
sta              1977 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			     struct ieee80211_sta *sta,
sta               618 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		ctxt_sta = &cmd.p2p_sta.sta;
sta               620 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 		ctxt_sta = &cmd.sta;
sta               669 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 			struct ieee80211_sta *sta;
sta               673 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 			sta = rcu_dereference(mvm->fw_id_to_mac_id[ap_sta_id]);
sta               674 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 			if (!IS_ERR_OR_NULL(sta)) {
sta               676 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 					iwl_mvm_sta_from_mac80211(sta);
sta               211 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 struct ieee80211_sta *sta,
sta               745 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			   struct ieee80211_sta *sta)
sta               747 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (likely(sta)) {
sta               748 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (likely(iwl_mvm_tx_skb_sta(mvm, skb, sta) == 0))
sta               763 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct ieee80211_sta *sta = control->sta;
sta               784 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta = NULL;
sta               787 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION &&
sta               795 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			sta = rcu_dereference(mvm->fw_id_to_mac_id[ap_sta_id]);
sta               796 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			if (IS_ERR_OR_NULL(sta))
sta               801 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	iwl_mvm_tx_skb(mvm, skb, sta);
sta               843 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				if (txq->sta)
sta               846 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 						     txq->sta->addr,
sta               851 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			iwl_mvm_tx_skb(mvm, skb, txq->sta);
sta               880 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (!txq->sta || mvmtxq->txq_id != IWL_MVM_INVALID_QUEUE) {
sta               886 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (unlikely(txq->sta && !list_empty(&mvmtxq->list)))
sta               910 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			    struct ieee80211_sta *sta, u16 tid, u16 rx_ba_ssn,
sta               925 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               930 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 sta->addr, tid, tid_data->ssn);
sta               936 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 sta->addr, tid);
sta               941 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 sta->addr, tid, rx_ba_ssn);
sta               946 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 sta->addr, tid);
sta               959 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct ieee80211_sta *sta = params->sta;
sta               968 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		     sta->addr, tid, action);
sta               978 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				iwl_mvm_sta_from_mac80211(sta)->sta_id) {
sta               991 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_rx_agg(mvm, sta, tid, *ssn, true, buf_size,
sta               995 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_rx_agg(mvm, sta, tid, 0, false, buf_size,
sta              1003 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn);
sta              1006 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_tx_agg_stop(mvm, vif, sta, tid);
sta              1010 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_tx_agg_flush(mvm, vif, sta, tid);
sta              1013 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_sta_tx_agg_oper(mvm, vif, sta, tid,
sta              1028 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_ampdu_check_trigger(mvm, vif, sta, tid,
sta              2019 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct ieee80211_sta *sta;
sta              2025 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_ctxt_cmd.sta_id]);
sta              2026 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (IS_ERR_OR_NULL(sta)) {
sta              2032 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (!sta->he_cap.has_he) {
sta              2044 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->he_cap.he_cap_elem.mac_cap_info[0] &
sta              2047 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if ((sta->he_cap.he_cap_elem.mac_cap_info[1] &
sta              2049 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	    (sta->he_cap.he_cap_elem.mac_cap_info[2] &
sta              2052 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			((sta->he_cap.he_cap_elem.mac_cap_info[2] &
sta              2054 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			 (sta->he_cap.he_cap_elem.mac_cap_info[1] &
sta              2064 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->he_cap.he_cap_elem.mac_cap_info[2] & IEEE80211_HE_MAC_CAP2_BSR)
sta              2066 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->he_cap.he_cap_elem.mac_cap_info[3] &
sta              2069 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->he_cap.he_cap_elem.mac_cap_info[4] & IEEE80211_HE_MAC_CAP4_BQR)
sta              2079 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->he_cap.he_cap_elem.phy_cap_info[6] &
sta              2081 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		u8 nss = (sta->he_cap.ppe_thres[0] &
sta              2084 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			(sta->he_cap.ppe_thres[0] &
sta              2087 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		u8 *ppe = &sta->he_cap.ppe_thres[0];
sta              2125 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	} else if ((sta->he_cap.he_cap_elem.phy_cap_info[9] &
sta              2132 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		switch (sta->he_cap.he_cap_elem.phy_cap_info[9] &
sta              2730 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				  struct ieee80211_sta *sta, u16 tids,
sta              2739 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	iwl_mvm_sta_modify_sleep_tx_count(mvm, sta, reason, num_frames,
sta              2745 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				    struct ieee80211_sta *sta, u16 tids,
sta              2754 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	iwl_mvm_sta_modify_sleep_tx_count(mvm, sta, reason, num_frames,
sta              2760 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				     struct ieee80211_sta *sta)
sta              2763 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2793 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			ieee80211_sta_set_buffered(sta, tid, true);
sta              2809 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_sta_modify_ps_wake(mvm, sta);
sta              2820 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				   struct ieee80211_sta *sta)
sta              2822 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	__iwl_mvm_mac_sta_notify(hw, cmd, sta);
sta              2829 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct ieee80211_sta *sta;
sta              2837 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]);
sta              2838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (WARN_ON(IS_ERR_OR_NULL(sta))) {
sta              2843 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2855 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			sta);
sta              2856 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ieee80211_sta_ps_transition(sta, sleeping);
sta              2865 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			ieee80211_sta_uapsd_trigger(sta, IEEE80211_NUM_TIDS);
sta              2868 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			ieee80211_sta_pspoll(sta);
sta              2880 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				       struct ieee80211_sta *sta)
sta              2883 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              2894 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta == rcu_access_pointer(mvm->fw_id_to_mac_id[mvm_sta->sta_id]))
sta              3012 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 struct ieee80211_sta *sta,
sta              3018 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              3022 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			   sta->addr, old_state, new_state);
sta              3068 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				sta->addr, vif->bss_conf.beacon_int);
sta              3073 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (sta->tdls &&
sta              3083 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_add_sta(mvm, vif, sta);
sta              3084 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (sta->tdls && ret == 0) {
sta              3086 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr,
sta              3090 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta->max_rc_amsdu_len = 1;
sta              3098 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_check_uapsd(mvm, vif, sta->addr);
sta              3103 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			vif->bss_conf.he_support = sta->he_cap.has_he;
sta              3110 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			vif->bss_conf.he_support = sta->he_cap.has_he;
sta              3113 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			if (sta->he_cap.has_he)
sta              3119 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band,
sta              3121 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_update_sta(mvm, vif, sta);
sta              3130 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (sta->tdls)
sta              3131 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr,
sta              3144 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band,
sta              3169 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_rm_sta(mvm, vif, sta);
sta              3170 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (sta->tdls) {
sta              3172 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr,
sta              3186 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	if (sta->tdls && ret == 0) {
sta              3189 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			ieee80211_reserve_tid(sta, IWL_MVM_TDLS_FW_TID);
sta              3192 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			ieee80211_unreserve_tid(sta, IWL_MVM_TDLS_FW_TID);
sta              3209 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				  struct ieee80211_sta *sta, u32 changed)
sta              3217 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_rs_rate_init(mvm, sta, mvmvif->phy_ctxt->channel->band,
sta              3320 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 struct ieee80211_sta *sta,
sta              3379 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		     vif->type == NL80211_IFTYPE_AP) && !sta) {
sta              3429 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		    sta && iwl_mvm_has_new_rx_api(mvm) &&
sta              3437 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3465 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, key_offset);
sta              3500 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (sta && iwl_mvm_has_new_rx_api(mvm) &&
sta              3505 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3515 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		ret = iwl_mvm_remove_sta_key(mvm, vif, sta, key);
sta              3527 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			       struct ieee80211_sta *sta,
sta              3534 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	ret = __iwl_mvm_mac_set_key(hw, cmd, vif, sta, key);
sta              3543 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 					struct ieee80211_sta *sta,
sta              3551 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key);
sta              4312 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			   struct ieee80211_sta *sta,
sta              4316 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              4620 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		struct ieee80211_sta *sta;
sta              4622 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta              4624 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (IS_ERR_OR_NULL(sta))
sta              4631 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 					iwl_mvm_sta_from_mac80211(sta));
sta              4642 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct ieee80211_sta *sta;
sta              4662 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta              4664 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		if (IS_ERR_OR_NULL(sta))
sta              4667 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              4672 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		WARN_ON(i != mvmvif->ap_sta_id && !sta->tdls);
sta              4745 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				       struct ieee80211_sta *sta,
sta              4750 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              4850 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				event->u.ba.sta->addr, event->u.ba.tid,
sta              4868 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		iwl_mvm_event_frame_timeout_callback(mvm, vif, event->u.ba.sta,
sta               800 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_txq_from_tid(struct ieee80211_sta *sta, u8 tid)
sta               805 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	return (void *)sta->txq[tid]->drv_priv;
sta              1210 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct ieee80211_sta *sta;
sta              1215 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1218 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	if (IS_ERR_OR_NULL(sta))
sta              1221 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	return iwl_mvm_sta_from_mac80211(sta);
sta              1227 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct ieee80211_sta *sta;
sta              1232 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta              1236 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	if (IS_ERR_OR_NULL(sta))
sta              1239 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	return iwl_mvm_sta_from_mac80211(sta);
sta              1512 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 		       struct ieee80211_sta *sta);
sta              1519 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 			    struct ieee80211_sta *sta, __le16 fc);
sta              1522 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 				    struct ieee80211_sta *sta,
sta              1531 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_flush_sta(struct iwl_mvm *mvm, void *sta, bool internal, u32 flags);
sta              1841 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 				struct ieee80211_sta *sta);
sta              1843 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 				     struct ieee80211_sta *sta);
sta              2029 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 				struct ieee80211_sta *sta, u8 oper_class,
sta              2037 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 					struct ieee80211_sta *sta);
sta              2067 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 					  const struct ieee80211_sta *sta,
sta              2076 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 			     struct ieee80211_sta *sta,
sta              1095 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 	struct ieee80211_sta *sta;
sta              1112 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1113 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 	if (IS_ERR_OR_NULL(sta))
sta              1115 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1140 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 		txq = sta->txq[tid];
sta                66 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c static u8 rs_fw_bw_from_sta_bw(struct ieee80211_sta *sta)
sta                68 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	switch (sta->bandwidth) {
sta                97 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c static u8 rs_fw_sgi_cw_support(struct ieee80211_sta *sta)
sta                99 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               100 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta               101 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_he_cap *he_cap = &sta->he_cap;
sta               120 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 				  struct ieee80211_sta *sta,
sta               123 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               124 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta               125 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta_he_cap *he_cap = &sta->he_cap;
sta               192 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c rs_fw_vht_set_enabled_rates(const struct ieee80211_sta *sta,
sta               198 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	u8 nss = sta->rx_nss;
sta               201 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta               210 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		if (sta->bandwidth == IEEE80211_STA_RX_BW_20)
sta               214 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		if (sta->bandwidth == IEEE80211_STA_RX_BW_160)
sta               238 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c rs_fw_he_set_enabled_rates(const struct ieee80211_sta *sta,
sta               242 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap;
sta               250 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	u8 nss = sta->rx_nss;
sta               253 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta               286 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c static void rs_fw_set_supp_rates(struct ieee80211_sta *sta,
sta               293 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               294 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta               295 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_he_cap *he_cap = &sta->he_cap;
sta               299 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	tmp = sta->supp_rates[sband->band];
sta               309 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		rs_fw_he_set_enabled_rates(sta, sband, cmd);
sta               312 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		rs_fw_vht_set_enabled_rates(sta, vht_cap, cmd);
sta               319 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta               333 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct ieee80211_sta *sta;
sta               341 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]);
sta               342 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	if (IS_ERR_OR_NULL(sta)) {
sta               348 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               375 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		if (WARN_ON(sta->max_amsdu_len < size &&
sta               381 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		sta->max_rc_amsdu_len = mvmsta->max_amsdu_len;
sta               385 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 				sta->max_tid_amsdu_len[i] =
sta               386 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 					iwl_mvm_max_amsdu_size(mvm, sta, i);
sta               392 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 				sta->max_tid_amsdu_len[i] = 1;
sta               404 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c static u16 rs_fw_get_max_amsdu_len(struct ieee80211_sta *sta)
sta               406 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta               407 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	const struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               435 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c void rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               439 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               443 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	u16 max_amsdu_len = rs_fw_get_max_amsdu_len(sta);
sta               447 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 			rs_fw_bw_from_sta_bw(sta) : RATE_MCS_CHAN_WIDTH_20,
sta               448 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		.flags = cpu_to_le16(rs_fw_get_config_flags(mvm, sta, sband)),
sta               450 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 		.sgi_ch_width_supp = rs_fw_sgi_cw_support(sta),
sta               461 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	rs_fw_set_supp_rates(sta, sband, &cfg_cmd);
sta               467 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c 	sta->max_amsdu_len = max_amsdu_len;
sta               121 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				     struct ieee80211_sta *sta,
sta               133 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_ant_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               140 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_mimo_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               144 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!sta->ht_cap.ht_supported)
sta               147 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta->smps_mode == IEEE80211_SMPS_STATIC)
sta               153 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta))
sta               162 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_siso_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               166 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!sta->ht_cap.ht_supported)
sta               172 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_sgi_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               176 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta               177 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta               381 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				  struct ieee80211_sta *sta,
sta               385 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			   struct ieee80211_sta *sta,
sta               605 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				     struct ieee80211_sta *sta)
sta               610 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		     sta->addr, tid);
sta               613 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = ieee80211_start_tx_ba_session(sta, tid, 0);
sta               622 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		ieee80211_stop_tx_ba_session(sta, tid);
sta               629 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			      struct ieee80211_sta *sta)
sta               651 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		if (rs_tl_turn_on_agg_for_tid(mvm, lq_sta, tid, sta) == 0)
sta              1205 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				      struct ieee80211_sta *sta, void *priv_sta,
sta              1212 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1221 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	iwl_mvm_rs_tx_status(mvm, sta, rs_get_tid(hdr), info,
sta              1413 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static u32 rs_bw_from_sta_bw(struct ieee80211_sta *sta)
sta              1415 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_sta_vht_cap *sta_vht_cap = &sta->vht_cap;
sta              1421 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	switch (sta->bandwidth) {
sta              1433 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					      0, true) < sta->rx_nss)
sta              1529 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_set_amsdu_len(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              1533 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1549 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		mvmsta->max_amsdu_len = sta->max_amsdu_len;
sta              1551 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		mvmsta->max_amsdu_len = min_t(int, sta->max_amsdu_len, 8500);
sta              1553 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	sta->max_rc_amsdu_len = mvmsta->max_amsdu_len;
sta              1557 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			sta->max_tid_amsdu_len[i] =
sta              1558 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				iwl_mvm_max_amsdu_size(mvm, sta, i);
sta              1564 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			sta->max_tid_amsdu_len[i] = 1;
sta              1572 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       struct ieee80211_sta *sta,
sta              1576 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_fill_lq_cmd(mvm, sta, lq_sta, &tbl->rate);
sta              1581 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			      struct ieee80211_sta *sta,
sta              1586 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (rs_bw_from_sta_bw(sta) != RATE_MCS_CHAN_WIDTH_80)
sta              1627 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 					 struct ieee80211_sta *sta,
sta              1662 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			if (allow_func && !allow_func(mvm, sta, &tbl->rate,
sta              1677 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 						     rs_bw_from_sta_bw(sta));
sta              1711 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       struct ieee80211_sta *sta,
sta              1748 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rate->bw = rs_bw_from_sta_bw(sta);
sta              1871 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_stbc_allow(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              1880 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta))
sta              1998 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			   struct ieee80211_sta *sta,
sta              2002 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              2090 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				  struct ieee80211_sta *sta,
sta              2111 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2150 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			rs_update_rate_tbl(mvm, sta, lq_sta, tbl);
sta              2263 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	    !iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta)) {
sta              2296 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			update_lq = rs_tpc_perform(mvm, sta, lq_sta, tbl);
sta              2307 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			rs_tweak_rate_tbl(mvm, sta, lq_sta, tbl, scale_action);
sta              2308 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_set_amsdu_len(mvm, sta, tbl, scale_action);
sta              2309 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_update_rate_tbl(mvm, sta, lq_sta, tbl);
sta              2333 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		next_column = rs_get_next_column(mvm, lq_sta, sta, tbl);
sta              2335 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			int ret = rs_switch_to_column(mvm, lq_sta, sta,
sta              2356 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			rs_update_rate_tbl(mvm, sta, lq_sta, tbl);
sta              2363 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_tl_turn_on_agg(mvm, mvmsta, tid, lq_sta, sta);
sta              2446 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				 struct ieee80211_sta *sta,
sta              2460 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rate->bw = rs_bw_from_sta_bw(sta);
sta              2461 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rate->sgi = rs_sgi_allow(mvm, sta, rate, NULL);
sta              2526 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				struct ieee80211_sta *sta,
sta              2531 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2582 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta->vht_cap.vht_supported &&
sta              2594 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				RATE_MCS_CHAN_WIDTH_20 : rs_bw_from_sta_bw(sta);
sta              2608 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			IWL_ERR(mvm, "Invalid BW %d\n", sta->bandwidth);
sta              2615 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	} else if (sta->ht_cap.ht_supported &&
sta              2677 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			     struct ieee80211_sta *sta,
sta              2685 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!sta || !lq_sta)
sta              2696 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_get_initial_rate(mvm, sta, lq_sta, band, rate);
sta              2697 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_init_optimal_rate(mvm, sta, lq_sta);
sta              2707 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_fill_lq_cmd(mvm, sta, lq_sta, rate);
sta              2712 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_drv_get_rate(void *mvm_r, struct ieee80211_sta *sta,
sta              2724 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta && !iwl_mvm_sta_from_mac80211(sta)->vif) {
sta              2728 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		sta = NULL;
sta              2752 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void *rs_drv_alloc_sta(void *mvm_rate, struct ieee80211_sta *sta,
sta              2755 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2793 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta,
sta              2807 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			    sta->bandwidth == IEEE80211_STA_RX_BW_20)
sta              2814 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta->rx_nss < 2)
sta              2825 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			    sta->bandwidth == IEEE80211_STA_RX_BW_20)
sta              2834 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		       struct ieee80211_sta *sta,
sta              2865 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			struct ieee80211_sta *sta,
sta              2869 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_vht_set_enabled_rates(sta, vht_cap, lq_sta);
sta              2957 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_drv_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              2962 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->ht_cap;
sta              2963 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta              2964 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2978 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	mvmsta->max_amsdu_len = sta->max_amsdu_len;
sta              2999 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	supp = sta->supp_rates[sband->band];
sta              3006 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_ht_init(mvm, sta, lq_sta, ht_cap);
sta              3008 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_vht_init(mvm, sta, lq_sta, vht_cap);
sta              3040 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_initialize_lq(mvm, sta, lq_sta, band);
sta              3046 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			       struct ieee80211_sta *sta,
sta              3053 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!iwl_mvm_sta_from_mac80211(sta)->vif)
sta              3058 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		ieee80211_stop_tx_ba_session(sta, tid);
sta              3060 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	iwl_mvm_rs_rate_init(mvm, sta, sband->band, true);
sta              3064 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				   struct ieee80211_sta *sta,
sta              3079 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3137 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_drv_rate_init(mvm, sta, info->band);
sta              3292 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta->supp_rates[info->band])
sta              3293 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_rate_scale_perform(mvm, sta, lq_sta, tid, ndp);
sta              3296 drivers/net/wireless/intel/iwlwifi/mvm/rs.c void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              3299 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3307 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	__iwl_mvm_rs_tx_status(mvm, sta, tid, info, ndp);
sta              3405 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				 struct ieee80211_sta *sta,
sta              3422 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	    rs_stbc_allow(mvm, sta, lq_sta))
sta              3480 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				struct ieee80211_sta *sta)
sta              3483 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3487 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (sta == data->exclude_sta)
sta              3498 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static int rs_bfer_priority(struct iwl_mvm_sta *sta)
sta              3501 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	enum nl80211_iftype viftype = ieee80211_vif_type_p2p(sta->vif);
sta              3515 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		WARN_ONCE(true, "viftype %d sta_id %d", viftype, sta->sta_id);
sta              3537 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				struct ieee80211_sta *sta,
sta              3542 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3544 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		.exclude_sta = sta,
sta              3550 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (!iwl_mvm_bt_coex_is_mimo_allowed(mvm, sta))
sta              3614 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			   struct ieee80211_sta *sta,
sta              3634 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	if (WARN_ON_ONCE(!sta || !initial_rate))
sta              3637 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	rs_build_rates_table(mvm, sta, lq_sta, initial_rate);
sta              3640 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_set_lq_ss_params(mvm, sta, lq_sta, initial_rate);
sta              3642 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3663 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			cpu_to_le16(iwl_mvm_coex_agg_time_limit(mvm, sta));
sta              3677 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_free_sta(void *mvm_r, struct ieee80211_sta *sta, void *mvm_sta)
sta              4136 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			     struct ieee80211_sta *sta, void *mvm_sta)
sta              4157 drivers/net/wireless/intel/iwlwifi/mvm/rs.c void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              4161 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_fw_rate_init(mvm, sta, band, update);
sta              4163 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              4166 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		rs_drv_rate_init(mvm, sta, band);
sta               412 drivers/net/wireless/intel/iwlwifi/mvm/rs.h void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               416 drivers/net/wireless/intel/iwlwifi/mvm/rs.h void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               453 drivers/net/wireless/intel/iwlwifi/mvm/rs.h void rs_fw_rate_init(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta                98 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 					    struct ieee80211_sta *sta,
sta               145 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	ieee80211_rx_napi(mvm->hw, sta, skb, napi);
sta               257 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 				  struct ieee80211_sta *sta,
sta               276 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               324 drivers/net/wireless/intel/iwlwifi/mvm/rx.c static void iwl_mvm_rx_csum(struct ieee80211_sta *sta,
sta               328 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               350 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	struct ieee80211_sta *sta = NULL;
sta               424 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 			sta = rcu_dereference(mvm->fw_id_to_mac_id[id]);
sta               425 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 			if (IS_ERR(sta))
sta               426 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 				sta = NULL;
sta               432 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		sta = ieee80211_find_sta_by_ifaddr(mvm->hw, hdr->addr2, NULL);
sta               435 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	if (sta) {
sta               436 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               451 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 				iwl_mvm_sta_modify_disable_tx_ap(mvm, sta,
sta               476 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 			iwl_mvm_rx_handle_tcm(mvm, sta, hdr, len, phy_info,
sta               480 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 			iwl_mvm_rx_csum(sta, skb, rx_pkt_status);
sta               563 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 	iwl_mvm_pass_packet_to_mac80211(mvm, sta, napi, skb, hdr, len,
sta               802 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		struct iwl_mvm_sta *sta;
sta               807 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		sta = iwl_mvm_sta_from_staid_rcu(mvm, i);
sta               808 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		if (!sta)
sta               810 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		sta->avg_energy = energy[i];
sta               861 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		struct ieee80211_sta *sta;
sta               881 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta               882 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		if (IS_ERR_OR_NULL(sta))
sta               888 drivers/net/wireless/intel/iwlwifi/mvm/rx.c 		ieee80211_mark_rx_ba_filtered_frames(sta, tid, ssn, bitmap,
sta                96 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 				   int queue, struct ieee80211_sta *sta)
sta               127 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (IS_ERR_OR_NULL(sta)) {
sta               133 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               274 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 					    struct ieee80211_sta *sta,
sta               277 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (iwl_mvm_check_pn(mvm, skb, queue, sta))
sta               280 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		ieee80211_rx_napi(mvm->hw, sta, skb, napi);
sta               396 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c static void iwl_mvm_rx_csum(struct ieee80211_sta *sta,
sta               400 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               418 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c static bool iwl_mvm_is_dup(struct ieee80211_sta *sta, int queue,
sta               427 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (WARN_ON(IS_ERR_OR_NULL(sta)))
sta               430 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta               538 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 				   struct ieee80211_sta *sta,
sta               585 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 							sta, false);
sta               648 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		struct ieee80211_sta *sta;
sta               653 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		sta = rcu_dereference(buf->mvm->fw_id_to_mac_id[sta_id]);
sta               654 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               661 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 						     sta, baid_data->tid);
sta               662 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		iwl_mvm_release_frames(buf->mvm, sta, NULL, baid_data,
sta               682 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct ieee80211_sta *sta;
sta               695 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[ba_data->sta_id]);
sta               696 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
sta               703 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	iwl_mvm_release_frames(mvm, sta, NULL, ba_data, reorder_buf,
sta               719 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct ieee80211_sta *sta;
sta               736 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[ba_data->sta_id]);
sta               737 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
sta               743 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	iwl_mvm_release_frames(mvm, sta, napi, ba_data,
sta               796 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 				     struct ieee80211_sta *sta, int tid,
sta               800 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               837 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			 sta->addr, queue, tid);
sta               838 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		ieee80211_stop_rx_ba_session(mvmsta->vif, BIT(tid), sta->addr);
sta               851 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			    struct ieee80211_sta *sta,
sta               887 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (WARN_ONCE(IS_ERR_OR_NULL(sta),
sta               891 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta               934 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		iwl_mvm_release_frames(mvm, sta, napi, baid_data,
sta               954 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		iwl_mvm_release_frames(mvm, sta, napi, baid_data, buffer,
sta               958 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	iwl_mvm_oldsn_workaround(mvm, sta, tid, buffer, reorder,
sta              1049 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		iwl_mvm_release_frames(mvm, sta, napi, baid_data,
sta              1558 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct ieee80211_sta *sta = NULL;
sta              1719 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			sta = rcu_dereference(mvm->fw_id_to_mac_id[id]);
sta              1720 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			if (IS_ERR(sta))
sta              1721 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 				sta = NULL;
sta              1728 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		sta = ieee80211_find_sta_by_ifaddr(mvm->hw, hdr->addr2, NULL);
sta              1731 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (sta) {
sta              1732 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1757 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 				iwl_mvm_sta_modify_disable_tx_ap(mvm, sta,
sta              1780 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			iwl_mvm_rx_csum(sta, skb, desc);
sta              1782 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		if (iwl_mvm_is_dup(sta, queue, rx_status, hdr, desc)) {
sta              1869 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (!iwl_mvm_reorder(mvm, napi, queue, sta, skb, desc))
sta              1871 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 						sta, csi);
sta              1887 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct ieee80211_sta *sta = NULL;
sta              2013 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	ieee80211_rx_napi(mvm->hw, sta, skb, napi);
sta               154 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 				    struct ieee80211_sta *sta)
sta               164 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	if (sta) {
sta               165 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		if (sta->ht_cap.ht_supported || sta->vht_cap.vht_supported) {
sta               166 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 			switch (sta->rx_nss) {
sta               193 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	if (sta) {
sta               217 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	struct ieee80211_sta *sta;
sta               241 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta               242 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		if (IS_ERR_OR_NULL(sta)) {
sta               247 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		iwl_mvm_fill_sf_command(mvm, &sf_cmd, sta);
sta               112 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               115 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta               133 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		memcpy(&add_sta_cmd.addr, sta->addr, ETH_ALEN);
sta               146 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	switch (sta->bandwidth) {
sta               157 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (sta->ht_cap.ht_supported)
sta               163 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	switch (sta->rx_nss) {
sta               175 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	switch (sta->smps_mode) {
sta               193 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta->ht_cap.ht_supported) {
sta               198 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		mpdu_dens = sta->ht_cap.ampdu_density;
sta               201 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta->vht_cap.vht_supported) {
sta               202 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		agg_size = sta->vht_cap.cap &
sta               206 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	} else if (sta->ht_cap.ht_supported) {
sta               207 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		agg_size = sta->ht_cap.ampdu_factor;
sta               215 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		add_sta_cmd.assoc_id = cpu_to_le16(sta->aid);
sta               217 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta->wme) {
sta               220 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BK)
sta               222 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_BE)
sta               224 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VI)
sta               226 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_VO)
sta               229 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		add_sta_cmd.sp_length = sta->max_sp ? sta->max_sp * 2 : 128;
sta               258 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta               279 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference(ba_data->mvm->fw_id_to_mac_id[ba_data->sta_id]);
sta               289 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (!sta)
sta               292 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta               294 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				      sta->addr, ba_data->tid);
sta               305 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta               317 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta               319 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) {
sta               324 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               348 drivers/net/wireless/intel/iwlwifi/mvm/sta.c static int iwl_mvm_disable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               393 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta) {
sta               395 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_txq_from_tid(sta, tid);
sta               415 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta               430 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta               433 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
sta               436 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               455 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta               472 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta               474 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) {
sta               479 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               485 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_txq_from_tid(sta, tid);
sta               774 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					struct ieee80211_sta *sta, u8 ac,
sta               777 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               779 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_txq_from_tid(sta, tid);
sta               807 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				       struct ieee80211_sta *sta,
sta               836 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta) {
sta               838 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_txq_from_tid(sta, tid);
sta               850 drivers/net/wireless/intel/iwlwifi/mvm/sta.c static bool iwl_mvm_enable_txq(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               871 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (!iwl_mvm_update_txq_mapping(mvm, sta, queue, cfg->sta_id, cfg->tid))
sta               924 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta               953 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta               956 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta)))
sta               959 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               967 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				     iwl_mvm_txq_from_tid(sta, tid));
sta              1119 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		struct ieee80211_sta *sta;
sta              1155 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1162 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (IS_ERR_OR_NULL(sta))
sta              1165 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1173 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			queue_owner = sta;
sta              1202 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				   struct ieee80211_sta *sta, u8 ac, int tid)
sta              1204 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1224 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid);
sta              1310 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	inc_ssn = iwl_mvm_enable_txq(mvm, sta, queue, ssn, &cfg, wdg_timeout);
sta              1340 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_sta_send_to_fw(mvm, sta, true, STA_MODIFY_QUEUES);
sta              1346 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true);
sta              1354 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					     iwl_mvm_txq_from_tid(sta, tid));
sta              1362 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	iwl_mvm_disable_txq(mvm, sta, queue, tid, 0);
sta              1398 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_sta_alloc_queue(mvm, txq->sta, txq->ac, tid);
sta              1409 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				      struct ieee80211_sta *sta,
sta              1412 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1423 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (vif_type == NL80211_IFTYPE_STATION && !sta->tdls &&
sta              1458 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 						 struct ieee80211_sta *sta)
sta              1460 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              1519 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_enable_txq(mvm, sta, txq_id, seq, &cfg, wdg);
sta              1526 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				      struct iwl_mvm_int_sta *sta,
sta              1537 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	cmd.sta_id = sta->sta_id;
sta              1541 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		cmd.station_type = sta->type;
sta              1544 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		cmd.tfd_queue_msk = cpu_to_le32(sta->tfd_queue_msk);
sta              1571 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		    struct ieee80211_sta *sta)
sta              1574 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              1604 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_add_int_sta_common(mvm, &tmp_sta, sta->addr,
sta              1609 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_realloc_queues_after_restart(mvm, sta);
sta              1625 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvm_sta->sta_type = sta->tdls ? IWL_STA_TDLS_LINK : IWL_STA_LINK;
sta              1644 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
sta              1646 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_txq_from_mac80211(sta->txq[i]);
sta              1679 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_reserve_sta_stream(mvm, sta,
sta              1697 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ret = iwl_mvm_sta_send_to_fw(mvm, sta, sta_update, sta_flags);
sta              1702 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (!sta->tdls) {
sta              1710 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	rcu_assign_pointer(mvm->fw_id_to_mac_id[sta_id], sta);
sta              1762 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta              1768 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta              1772 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (!sta) {
sta              1789 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				       struct ieee80211_sta *sta)
sta              1791 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              1800 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_disable_txq(mvm, sta, mvm_sta->tid_data[i].txq_id, i,
sta              1805 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
sta              1807 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_txq_from_mac80211(sta->txq[i]);
sta              1839 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		   struct ieee80211_sta *sta)
sta              1842 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              1872 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	iwl_mvm_disable_sta_queues(mvm, vif, sta);
sta              1939 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			     struct iwl_mvm_int_sta *sta,
sta              1944 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	    sta->sta_id == IWL_MVM_INVALID_STA) {
sta              1945 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		sta->sta_id = iwl_mvm_find_free_sta_id(mvm, iftype);
sta              1946 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_INVALID_STA))
sta              1950 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta->tfd_queue_msk = qmask;
sta              1951 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta->type = type;
sta              1954 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	rcu_assign_pointer(mvm->fw_id_to_mac_id[sta->sta_id], ERR_PTR(-EINVAL));
sta              1958 drivers/net/wireless/intel/iwlwifi/mvm/sta.c void iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta)
sta              1960 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	RCU_INIT_POINTER(mvm->fw_id_to_mac_id[sta->sta_id], NULL);
sta              1961 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	memset(sta, 0, sizeof(struct iwl_mvm_int_sta));
sta              1962 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta->sta_id = IWL_MVM_INVALID_STA;
sta              1998 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					  struct iwl_mvm_int_sta *sta,
sta              2005 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_enable_aux_snif_queue(mvm, *queue, sta->sta_id, fifo);
sta              2007 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ret = iwl_mvm_add_int_sta_common(mvm, sta, NULL, macidx, maccolor);
sta              2022 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		txq = iwl_mvm_enable_aux_snif_queue_tvqm(mvm, sta->sta_id);
sta              2024 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			iwl_mvm_rm_sta_common(mvm, sta->sta_id);
sta              2524 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              2527 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              2690 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta              2693 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              2761 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			     struct ieee80211_sta *sta, u16 tid, u16 *ssn)
sta              2763 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2786 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_sta_alloc_queue_tvqm(mvm, sta, ac, tid);
sta              2852 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              2866 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			    struct ieee80211_sta *sta, u16 tid, u16 buf_size,
sta              2869 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              2872 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_get_wd_timeout(mvm, vif, sta->tdls, false);
sta              2919 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true);
sta              2961 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_enable_txq(mvm, sta, queue, ssn,
sta              2966 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = iwl_mvm_sta_tx_agg(mvm, sta, tid, queue, true);
sta              2987 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		     sta->addr, tid);
sta              3017 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			    struct ieee80211_sta *sta, u16 tid)
sta              3019 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3029 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              3056 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              3058 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false);
sta              3070 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              3089 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			    struct ieee80211_sta *sta, u16 tid)
sta              3091 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3127 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_sta_tx_agg(mvm, sta, tid, txq_id, false);
sta              3162 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					       struct ieee80211_sta *sta)
sta              3166 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta)
sta              3167 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return iwl_mvm_sta_from_mac80211(sta);
sta              3178 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		sta = rcu_dereference_check(mvm->fw_id_to_mac_id[sta_id],
sta              3186 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (IS_ERR_OR_NULL(sta))
sta              3189 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return iwl_mvm_sta_from_mac80211(sta);
sta              3388 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				       struct ieee80211_sta *sta)
sta              3392 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta)
sta              3393 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return sta->addr;
sta              3398 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta              3400 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		return sta->addr;
sta              3409 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				 struct ieee80211_sta *sta,
sta              3421 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta) {
sta              3422 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              3425 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		mfp = sta->mfp;
sta              3438 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		addr = iwl_mvm_get_mac_addr(mvm, vif, sta);
sta              3464 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			struct ieee80211_sta *sta,
sta              3479 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta);
sta              3491 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (!sta) {
sta              3492 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			sta = rcu_dereference_protected(
sta              3495 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			if (IS_ERR_OR_NULL(sta)) {
sta              3501 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif))
sta              3534 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast);
sta              3546 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	    sta) {
sta              3547 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf,
sta              3560 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		      sta ? sta->addr : zero_addr, ret);
sta              3566 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			   struct ieee80211_sta *sta,
sta              3577 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta);
sta              3580 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	else if (!sta && vif->type == NL80211_IFTYPE_AP && mcast)
sta              3605 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (sta && !mvm_sta) {
sta              3625 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			     struct ieee80211_sta *sta, u32 iv32,
sta              3630 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	bool mfp = sta ? sta->mfp : false;
sta              3634 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta);
sta              3646 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				struct ieee80211_sta *sta)
sta              3648 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3664 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				       struct ieee80211_sta *sta,
sta              3669 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              3720 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 			ieee80211_sta_eosp(sta);
sta              3751 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta              3758 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              3759 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	if (!IS_ERR_OR_NULL(sta))
sta              3760 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		ieee80211_sta_eosp(sta);
sta              3783 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 				      struct ieee80211_sta *sta,
sta              3786 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct iwl_mvm_sta *mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              3798 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	ieee80211_sta_block_awake(mvm->hw, sta, disable);
sta              3807 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 					      struct iwl_mvm_int_sta *sta,
sta              3813 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		.sta_id = sta->sta_id,
sta              3830 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 	struct ieee80211_sta *sta;
sta              3838 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta              3840 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		if (IS_ERR_OR_NULL(sta))
sta              3843 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		mvm_sta = iwl_mvm_sta_from_mac80211(sta);
sta              3848 drivers/net/wireless/intel/iwlwifi/mvm/sta.c 		iwl_mvm_sta_modify_disable_tx_ap(mvm, sta, disable);
sta               459 drivers/net/wireless/intel/iwlwifi/mvm/sta.h iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta)
sta               461 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 	return (void *)sta->drv_priv;
sta               487 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               491 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 		    struct ieee80211_sta *sta);
sta               495 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 				     struct ieee80211_sta *sta)
sta               497 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 	return iwl_mvm_sta_send_to_fw(mvm, sta, true, 0);
sta               504 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 		   struct ieee80211_sta *sta);
sta               510 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			struct ieee80211_sta *sta,
sta               515 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			   struct ieee80211_sta *sta,
sta               521 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			     struct ieee80211_sta *sta, u32 iv32,
sta               528 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               531 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			struct ieee80211_sta *sta, u16 tid, u16 *ssn);
sta               533 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			    struct ieee80211_sta *sta, u16 tid, u16 buf_size,
sta               536 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			    struct ieee80211_sta *sta, u16 tid);
sta               538 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			    struct ieee80211_sta *sta, u16 tid);
sta               540 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_tx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
sta               554 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 			     struct iwl_mvm_int_sta *sta,
sta               558 drivers/net/wireless/intel/iwlwifi/mvm/sta.h void iwl_mvm_dealloc_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta);
sta               564 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 				struct ieee80211_sta *sta);
sta               566 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 				       struct ieee80211_sta *sta,
sta               575 drivers/net/wireless/intel/iwlwifi/mvm/sta.h 				      struct ieee80211_sta *sta,
sta                74 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta                81 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta                83 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		if (!sta || IS_ERR(sta) || !sta->tdls)
sta                86 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta                87 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		ieee80211_tdls_oper_request(mvmsta->vif, sta->addr,
sta                96 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta               104 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta               106 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		if (!sta || IS_ERR(sta) || !sta->tdls)
sta               110 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 			mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               132 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta               148 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i],
sta               150 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		if (IS_ERR_OR_NULL(sta) || !sta->tdls)
sta               158 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 				cpu_to_le32(sta->tdls_initiator ? 1 : 0);
sta               256 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta               273 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id],
sta               276 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	if (IS_ERR_OR_NULL(sta) || WARN_ON(!sta->tdls))
sta               279 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               304 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		struct ieee80211_sta *sta = rcu_dereference_protected(
sta               307 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		if (!IS_ERR_OR_NULL(sta))
sta               308 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 			same_peer = ether_addr_equal(peer, sta->addr);
sta               387 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta               415 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	sta = ieee80211_find_sta(vif, peer);
sta               416 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	if (!sta) {
sta               421 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               469 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	iwl_mvm_set_tx_cmd_rate(mvm, &tail->frame.tx_cmd, info, sta,
sta               505 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	struct ieee80211_sta *sta;
sta               521 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	sta = rcu_dereference_protected(
sta               525 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	if (!sta || IS_ERR(sta) || WARN_ON(!sta->tdls))
sta               528 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               532 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 						 sta->addr,
sta               552 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 			    struct ieee80211_sta *sta, u8 oper_class,
sta               564 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		       sta->addr, chandef->chan->center_freq, chandef->width);
sta               570 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 			       sta->addr);
sta               577 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 						 sta->addr, sta->tdls_initiator,
sta               593 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               596 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	mvm->tdls_cs.peer.initiator = sta->tdls_initiator;
sta               616 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 					struct ieee80211_sta *sta)
sta               624 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	IWL_DEBUG_TDLS(mvm, "TDLS cancel channel switch with %pM\n", sta->addr);
sta               628 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		IWL_DEBUG_TDLS(mvm, "No ch switch peer - %pM\n", sta->addr);
sta               636 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	if (cur_sta != sta)
sta               663 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	IWL_DEBUG_TDLS(mvm, "TDLS ending channel switch with %pM\n", sta->addr);
sta               682 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		       action_str, params->sta->addr, params->status);
sta               698 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 		if (cur_sta == params->sta) {
sta               708 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 	iwl_mvm_tdls_config_channel_switch(mvm, vif, type, params->sta->addr,
sta               709 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c 					   params->sta->tdls_initiator, 0,
sta               309 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			      struct ieee80211_sta *sta, __le16 fc)
sta               315 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (sta && ieee80211_is_data(fc)) {
sta               316 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               326 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			       struct ieee80211_sta *sta)
sta               342 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				&mvm->nvm_data->bands[info->band], sta);
sta               363 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				       struct ieee80211_sta *sta, __le16 fc)
sta               365 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	return iwl_mvm_get_tx_rate(mvm, info, sta) |
sta               366 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		iwl_mvm_get_tx_ant(mvm, info, sta, fc);
sta               374 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			    struct ieee80211_sta *sta, __le16 fc)
sta               395 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (ieee80211_is_data(fc) && sta) {
sta               396 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               410 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		cpu_to_le32(iwl_mvm_get_tx_rate_n_flags(mvm, info, sta, fc));
sta               493 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		      struct ieee80211_sta *sta, u8 sta_id)
sta               510 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		struct iwl_mvm_sta *mvmsta = sta ?
sta               511 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			iwl_mvm_sta_from_mac80211(sta) : NULL;
sta               536 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		if (!sta || !ieee80211_is_data(hdr->frame_control) ||
sta               540 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				iwl_mvm_get_tx_rate_n_flags(mvm, info, sta,
sta               582 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control);
sta               787 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				    struct ieee80211_sta *sta, unsigned int tid)
sta               789 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               800 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (sta->he_cap.has_he && !WARN_ON(!iwl_mvm_has_new_tx_api(mvm)))
sta               887 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			  struct ieee80211_sta *sta,
sta               890 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta               937 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		min_t(unsigned int, sta->max_amsdu_len,
sta               938 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		      iwl_mvm_max_amsdu_size(mvm, sta, tid));
sta               946 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	    !sta->vht_cap.vht_supported)
sta               959 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (sta->max_amsdu_subframes &&
sta               960 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	    num_subframes > sta->max_amsdu_subframes)
sta               961 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		num_subframes = sta->max_amsdu_subframes;
sta               995 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			  struct ieee80211_sta *sta,
sta              1069 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			   struct ieee80211_sta *sta)
sta              1081 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1098 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 					sta, mvmsta->sta_id);
sta              1202 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		       struct ieee80211_sta *sta)
sta              1204 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1219 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		return iwl_mvm_tx_mpdu(mvm, skb, &info, sta);
sta              1225 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		return iwl_mvm_tx_mpdu(mvm, skb, &info, sta);
sta              1229 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	ret = iwl_mvm_tx_tso(mvm, skb, &info, sta, &mpdus_skbs);
sta              1239 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ret = iwl_mvm_tx_mpdu(mvm, skb, &info, sta);
sta              1250 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				      struct ieee80211_sta *sta, u8 tid)
sta              1252 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1267 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ieee80211_sta_set_buffered(sta, tid, false);
sta              1287 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1295 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1444 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct ieee80211_sta *sta;
sta              1593 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1598 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (WARN_ON_ONCE(!sta))
sta              1601 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (!IS_ERR(sta)) {
sta              1602 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1611 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 		if (sta->wme && tid != IWL_MGMT_TID) {
sta              1628 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			iwl_mvm_check_ratid_empty(mvm, sta, tid);
sta              1653 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				iwl_mvm_sta_modify_sleep_tx_count(mvm, sta,
sta              1657 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 				ieee80211_send_eosp_nullfunc(sta, tid);
sta              1663 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			ieee80211_sta_eosp(sta);
sta              1728 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct ieee80211_sta *sta;
sta              1740 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1741 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (WARN_ON_ONCE(!sta || !sta->wme)) {
sta              1777 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct ieee80211_sta *sta;
sta              1789 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
sta              1792 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) {
sta              1797 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	mvmsta = iwl_mvm_sta_from_mac80211(sta);
sta              1821 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	iwl_mvm_check_ratid_empty(mvm, sta, tid);
sta              1881 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 			iwl_mvm_rs_tx_status(mvm, sta, tid, ba_info, false);
sta              2044 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int iwl_mvm_flush_sta(struct iwl_mvm *mvm, void *sta, bool internal, u32 flags)
sta              2046 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_int_sta *int_sta = sta;
sta              2047 drivers/net/wireless/intel/iwlwifi/mvm/tx.c 	struct iwl_mvm_sta *mvm_sta = sta;
sta              1017 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 					  const struct ieee80211_sta *sta,
sta              1035 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 				sta->addr, tid);
sta               734 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	void *sta = NULL;
sta               785 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 		sta = NULL;
sta               796 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 							&sta);
sta              1104 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 	if (sta)
sta              1105 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c 		hostap_handle_sta_release(sta);
sta                56 drivers/net/wireless/intersil/hostap/hostap_ap.c static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta);
sta                58 drivers/net/wireless/intersil/hostap/hostap_ap.c 				     struct sta_info *sta);
sta                86 drivers/net/wireless/intersil/hostap/hostap_ap.c static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta)
sta                88 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->hnext = ap->sta_hash[STA_HASH(sta->addr)];
sta                89 drivers/net/wireless/intersil/hostap/hostap_ap.c 	ap->sta_hash[STA_HASH(sta->addr)] = sta;
sta                92 drivers/net/wireless/intersil/hostap/hostap_ap.c static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta)
sta                96 drivers/net/wireless/intersil/hostap/hostap_ap.c 	s = ap->sta_hash[STA_HASH(sta->addr)];
sta                98 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (ether_addr_equal(s->addr, sta->addr)) {
sta                99 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap->sta_hash[STA_HASH(sta->addr)] = s->hnext;
sta               103 drivers/net/wireless/intersil/hostap/hostap_ap.c 	while (s->hnext != NULL && !ether_addr_equal(s->hnext->addr, sta->addr))
sta               109 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       sta->addr);
sta               112 drivers/net/wireless/intersil/hostap/hostap_ap.c static void ap_free_sta(struct ap_data *ap, struct sta_info *sta)
sta               114 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->ap && sta->local)
sta               115 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_expired_sta(sta->local->dev, sta);
sta               119 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sprintf(name, "%pM", sta->addr);
sta               123 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->crypt) {
sta               124 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->crypt->ops->deinit(sta->crypt->priv);
sta               125 drivers/net/wireless/intersil/hostap/hostap_ap.c 		kfree(sta->crypt);
sta               126 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->crypt = NULL;
sta               129 drivers/net/wireless/intersil/hostap/hostap_ap.c 	skb_queue_purge(&sta->tx_buf);
sta               133 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->aid > 0)
sta               134 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap->sta_aid[sta->aid - 1] = NULL;
sta               136 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta->ap)
sta               137 drivers/net/wireless/intersil/hostap/hostap_ap.c 		kfree(sta->u.sta.challenge);
sta               138 drivers/net/wireless/intersil/hostap/hostap_ap.c 	del_timer_sync(&sta->timer);
sta               141 drivers/net/wireless/intersil/hostap/hostap_ap.c 	kfree(sta);
sta               152 drivers/net/wireless/intersil/hostap/hostap_ap.c static void hostap_event_new_sta(struct net_device *dev, struct sta_info *sta)
sta               156 drivers/net/wireless/intersil/hostap/hostap_ap.c 	memcpy(wrqu.addr.sa_data, sta->addr, ETH_ALEN);
sta               163 drivers/net/wireless/intersil/hostap/hostap_ap.c 				     struct sta_info *sta)
sta               167 drivers/net/wireless/intersil/hostap/hostap_ap.c 	memcpy(wrqu.addr.sa_data, sta->addr, ETH_ALEN);
sta               177 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = from_timer(sta, t, timer);
sta               183 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL || sta->local == NULL || sta->local->ap == NULL) {
sta               188 drivers/net/wireless/intersil/hostap/hostap_ap.c 	local = sta->local;
sta               190 drivers/net/wireless/intersil/hostap/hostap_ap.c 	was_assoc = sta->flags & WLAN_STA_ASSOC;
sta               192 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (atomic_read(&sta->users) != 0)
sta               194 drivers/net/wireless/intersil/hostap/hostap_ap.c 	else if ((sta->flags & WLAN_STA_PERM) && !(sta->flags & WLAN_STA_AUTH))
sta               197 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (time_before(jiffies, sta->last_rx + ap->max_inactivity)) {
sta               199 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timeout_next = STA_NULLFUNC;
sta               200 drivers/net/wireless/intersil/hostap/hostap_ap.c 		next_time = sta->last_rx + ap->max_inactivity;
sta               201 drivers/net/wireless/intersil/hostap/hostap_ap.c 	} else if (sta->timeout_next == STA_DISASSOC &&
sta               202 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   !(sta->flags & WLAN_STA_PENDING_POLL)) {
sta               204 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timeout_next = STA_NULLFUNC;
sta               209 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timer.expires = next_time;
sta               210 drivers/net/wireless/intersil/hostap/hostap_ap.c 		add_timer(&sta->timer);
sta               214 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->ap)
sta               215 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timeout_next = STA_DEAUTH;
sta               217 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->timeout_next == STA_DEAUTH && !(sta->flags & WLAN_STA_PERM)) {
sta               219 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_sta_hash_del(ap, sta);
sta               220 drivers/net/wireless/intersil/hostap/hostap_ap.c 		list_del(&sta->list);
sta               222 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~(WLAN_STA_AUTH | WLAN_STA_ASSOC);
sta               223 drivers/net/wireless/intersil/hostap/hostap_ap.c 	} else if (sta->timeout_next == STA_DISASSOC)
sta               224 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~WLAN_STA_ASSOC;
sta               226 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (was_assoc && !(sta->flags & WLAN_STA_ASSOC) && !sta->ap)
sta               227 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_expired_sta(local->dev, sta);
sta               229 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->timeout_next == STA_DEAUTH && sta->aid > 0 &&
sta               230 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    !skb_queue_empty(&sta->tx_buf)) {
sta               231 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_set_tim(local, sta->aid, 0);
sta               232 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~WLAN_STA_TIM;
sta               235 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->ap) {
sta               239 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       local->dev->name, sta->addr);
sta               240 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_wds_link_oper(local, sta->addr, WDS_DEL);
sta               242 drivers/net/wireless/intersil/hostap/hostap_ap.c 	} else if (sta->timeout_next == STA_NULLFUNC) {
sta               248 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_PENDING_POLL;
sta               251 drivers/net/wireless/intersil/hostap/hostap_ap.c 				 sta->addr, ap->tx_callback_poll);
sta               253 drivers/net/wireless/intersil/hostap/hostap_ap.c 		int deauth = sta->timeout_next == STA_DEAUTH;
sta               259 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       sta->addr, sta->last_rx, jiffies);
sta               266 drivers/net/wireless/intersil/hostap/hostap_ap.c 				 (char *) &resp, 2, sta->addr, 0);
sta               269 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->timeout_next == STA_DEAUTH) {
sta               270 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->flags & WLAN_STA_PERM) {
sta               274 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       local->dev->name, sta->addr);
sta               276 drivers/net/wireless/intersil/hostap/hostap_ap.c 			ap_free_sta(ap, sta);
sta               280 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->timeout_next == STA_NULLFUNC) {
sta               281 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timeout_next = STA_DISASSOC;
sta               282 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timer.expires = jiffies + AP_DISASSOC_DELAY;
sta               284 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timeout_next = STA_DEAUTH;
sta               285 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->timer.expires = jiffies + AP_DEAUTH_DELAY;
sta               288 drivers/net/wireless/intersil/hostap/hostap_ap.c 	add_timer(&sta->timer);
sta               469 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta               473 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, mac);
sta               474 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta               475 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_sta_hash_del(ap, sta);
sta               476 drivers/net/wireless/intersil/hostap/hostap_ap.c 		list_del(&sta->list);
sta               480 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta               485 drivers/net/wireless/intersil/hostap/hostap_ap.c 			 (char *) &resp, 2, sta->addr, 0);
sta               487 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap)
sta               488 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_expired_sta(dev, sta);
sta               490 drivers/net/wireless/intersil/hostap/hostap_ap.c 	ap_free_sta(ap, sta);
sta               501 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta               506 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = list_entry(ptr, struct sta_info, list);
sta               507 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_sta_hash_del(ap, sta);
sta               508 drivers/net/wireless/intersil/hostap/hostap_ap.c 		list_del(&sta->list);
sta               509 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap && sta->local)
sta               510 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_event_expired_sta(sta->local->dev, sta);
sta               511 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_free_sta(ap, sta);
sta               521 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = v;
sta               529 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta->ap)
sta               533 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->addr,
sta               534 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->u.ap.channel, sta->last_rx_signal,
sta               535 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->last_rx_silence, sta->last_rx_rate);
sta               537 drivers/net/wireless/intersil/hostap/hostap_ap.c 	for (i = 0; i < sta->u.ap.ssid_len; i++) {
sta               538 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->u.ap.ssid[i] >= 32 && sta->u.ap.ssid[i] < 127)
sta               539 drivers/net/wireless/intersil/hostap/hostap_ap.c 			seq_putc(m, sta->u.ap.ssid[i]);
sta               541 drivers/net/wireless/intersil/hostap/hostap_ap.c 			seq_printf(m, "<%02x>", sta->u.ap.ssid[i]);
sta               545 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->capability & WLAN_CAPABILITY_ESS)
sta               547 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->capability & WLAN_CAPABILITY_IBSS)
sta               549 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->capability & WLAN_CAPABILITY_PRIVACY)
sta               639 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta               667 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, hdr->addr1);
sta               668 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta               669 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta               672 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta) {
sta               681 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_AUTH;
sta               682 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_auth = jiffies;
sta               687 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta               688 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta               707 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta               731 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, hdr->addr1);
sta               732 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta               733 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta               736 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta) {
sta               745 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (!(sta->flags & WLAN_STA_ASSOC))
sta               746 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_event_new_sta(dev, sta);
sta               748 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_ASSOC;
sta               749 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_assoc = jiffies;
sta               754 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta               755 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta               769 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta               776 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_get_sta(ap, hdr->addr1);
sta               777 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta)
sta               778 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->flags &= ~WLAN_STA_PENDING_POLL;
sta               865 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *n, *sta;
sta               882 drivers/net/wireless/intersil/hostap/hostap_ap.c 	list_for_each_entry_safe(sta, n, &ap->sta_list, list) {
sta               883 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_sta_hash_del(ap, sta);
sta               884 drivers/net/wireless/intersil/hostap/hostap_ap.c 		list_del(&sta->list);
sta               885 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap && sta->local)
sta               886 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_event_expired_sta(sta->local->dev, sta);
sta               887 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_free_sta(ap, sta);
sta               909 drivers/net/wireless/intersil/hostap/hostap_ap.c static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta)
sta               913 drivers/net/wireless/intersil/hostap/hostap_ap.c 	s = ap->sta_hash[STA_HASH(sta)];
sta               914 drivers/net/wireless/intersil/hostap/hostap_ap.c 	while (s != NULL && !ether_addr_equal(s->addr, sta))
sta               995 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = m->private;
sta              1006 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->ap ? "AP" : "STA",
sta              1007 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->addr, atomic_read(&sta->users), sta->aid,
sta              1008 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags,
sta              1009 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_AUTH ? " AUTH" : "",
sta              1010 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_ASSOC ? " ASSOC" : "",
sta              1011 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_PS ? " PS" : "",
sta              1012 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_TIM ? " TIM" : "",
sta              1013 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_PERM ? " PERM" : "",
sta              1014 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_AUTHORIZED ? " AUTHORIZED" : "",
sta              1015 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->flags & WLAN_STA_PENDING_POLL ? " POLL" : "",
sta              1016 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->capability, sta->listen_interval);
sta              1018 drivers/net/wireless/intersil/hostap/hostap_ap.c 	for (i = 0; i < sizeof(sta->supported_rates); i++)
sta              1019 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->supported_rates[i] != 0)
sta              1021 drivers/net/wireless/intersil/hostap/hostap_ap.c 				   (sta->supported_rates[i] & 0x7f) / 2,
sta              1022 drivers/net/wireless/intersil/hostap/hostap_ap.c 				   sta->supported_rates[i] & 1 ? ".5" : "");
sta              1032 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   jiffies, sta->last_auth, sta->last_assoc, sta->last_rx,
sta              1033 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->last_tx,
sta              1034 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->rx_packets, sta->tx_packets, sta->rx_bytes,
sta              1035 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->tx_bytes, skb_queue_len(&sta->tx_buf),
sta              1036 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->last_rx_silence,
sta              1037 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->last_rx_signal, sta->last_rx_rate / 10,
sta              1038 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->last_rx_rate % 10 ? ".5" : "",
sta              1039 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->tx_rate, sta->tx_count[0], sta->tx_count[1],
sta              1040 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->tx_count[2], sta->tx_count[3],  sta->rx_count[0],
sta              1041 drivers/net/wireless/intersil/hostap/hostap_ap.c 		   sta->rx_count[1], sta->rx_count[2], sta->rx_count[3]);
sta              1042 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->crypt && sta->crypt->ops && sta->crypt->ops->print_stats)
sta              1043 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->crypt->ops->print_stats(m, sta->crypt->priv);
sta              1045 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->ap) {
sta              1046 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->u.ap.channel >= 0)
sta              1047 drivers/net/wireless/intersil/hostap/hostap_ap.c 			seq_printf(m, "channel=%d\n", sta->u.ap.channel);
sta              1049 drivers/net/wireless/intersil/hostap/hostap_ap.c 		for (i = 0; i < sta->u.ap.ssid_len; i++) {
sta              1050 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (sta->u.ap.ssid[i] >= 32 && sta->u.ap.ssid[i] < 127)
sta              1051 drivers/net/wireless/intersil/hostap/hostap_ap.c 				seq_putc(m, sta->u.ap.ssid[i]);
sta              1053 drivers/net/wireless/intersil/hostap/hostap_ap.c 				seq_printf(m, "<%02x>", sta->u.ap.ssid[i]);
sta              1067 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              1076 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_get_sta(ap, entry->addr);
sta              1077 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta)
sta              1078 drivers/net/wireless/intersil/hostap/hostap_ap.c 			atomic_inc(&sta->users);
sta              1081 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta) {
sta              1082 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sprintf(name, "%pM", sta->addr);
sta              1083 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->proc = proc_create_single_data(
sta              1085 drivers/net/wireless/intersil/hostap/hostap_ap.c 				prism2_sta_proc_show, sta);
sta              1087 drivers/net/wireless/intersil/hostap/hostap_ap.c 			atomic_dec(&sta->users);
sta              1099 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              1101 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = kzalloc(sizeof(struct sta_info), GFP_ATOMIC);
sta              1102 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              1108 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->local = ap->local;
sta              1109 drivers/net/wireless/intersil/hostap/hostap_ap.c 	skb_queue_head_init(&sta->tx_buf);
sta              1110 drivers/net/wireless/intersil/hostap/hostap_ap.c 	memcpy(sta->addr, addr, ETH_ALEN);
sta              1112 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_inc(&sta->users);
sta              1114 drivers/net/wireless/intersil/hostap/hostap_ap.c 	list_add(&sta->list, &ap->sta_list);
sta              1116 drivers/net/wireless/intersil/hostap/hostap_ap.c 	ap_sta_hash_add(ap, sta);
sta              1125 drivers/net/wireless/intersil/hostap/hostap_ap.c 			memcpy(entry->addr, sta->addr, ETH_ALEN);
sta              1134 drivers/net/wireless/intersil/hostap/hostap_ap.c 	timer_setup(&sta->timer, ap_handle_timer, 0);
sta              1135 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->timer.expires = jiffies + ap->max_inactivity;
sta              1137 drivers/net/wireless/intersil/hostap/hostap_ap.c 		add_timer(&sta->timer);
sta              1140 drivers/net/wireless/intersil/hostap/hostap_ap.c 	return sta;
sta              1144 drivers/net/wireless/intersil/hostap/hostap_ap.c static int ap_tx_rate_ok(int rateidx, struct sta_info *sta,
sta              1147 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (rateidx > sta->tx_max_rate ||
sta              1148 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    !(sta->tx_supp_rates & (1 << rateidx)))
sta              1159 drivers/net/wireless/intersil/hostap/hostap_ap.c static void prism2_check_tx_rates(struct sta_info *sta)
sta              1163 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_supp_rates = 0;
sta              1164 drivers/net/wireless/intersil/hostap/hostap_ap.c 	for (i = 0; i < sizeof(sta->supported_rates); i++) {
sta              1165 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->supported_rates[i] & 0x7f) == 2)
sta              1166 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_supp_rates |= WLAN_RATE_1M;
sta              1167 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->supported_rates[i] & 0x7f) == 4)
sta              1168 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_supp_rates |= WLAN_RATE_2M;
sta              1169 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->supported_rates[i] & 0x7f) == 11)
sta              1170 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_supp_rates |= WLAN_RATE_5M5;
sta              1171 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->supported_rates[i] & 0x7f) == 22)
sta              1172 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_supp_rates |= WLAN_RATE_11M;
sta              1174 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_max_rate = sta->tx_rate = sta->tx_rate_idx = 0;
sta              1175 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_1M) {
sta              1176 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_max_rate = 0;
sta              1177 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (ap_tx_rate_ok(0, sta, sta->local)) {
sta              1178 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate = 10;
sta              1179 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate_idx = 0;
sta              1182 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_2M) {
sta              1183 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_max_rate = 1;
sta              1184 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (ap_tx_rate_ok(1, sta, sta->local)) {
sta              1185 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate = 20;
sta              1186 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate_idx = 1;
sta              1189 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_5M5) {
sta              1190 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_max_rate = 2;
sta              1191 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (ap_tx_rate_ok(2, sta, sta->local)) {
sta              1192 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate = 55;
sta              1193 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate_idx = 2;
sta              1196 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_11M) {
sta              1197 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_max_rate = 3;
sta              1198 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (ap_tx_rate_ok(3, sta, sta->local)) {
sta              1199 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate = 110;
sta              1200 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_rate_idx = 3;
sta              1295 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              1310 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1311 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              1312 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              1315 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta && sta->crypt)
sta              1316 drivers/net/wireless/intersil/hostap/hostap_ap.c 		crypt = sta->crypt;
sta              1366 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta && sta->ap) {
sta              1367 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (time_after(jiffies, sta->u.ap.last_beacon +
sta              1368 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       (10 * sta->listen_interval * HZ) / 1024)) {
sta              1371 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       dev->name, sta->addr);
sta              1372 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->ap = 0;
sta              1373 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->flags = 0;
sta              1374 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->u.sta.challenge = NULL;
sta              1385 drivers/net/wireless/intersil/hostap/hostap_ap.c 	      (auth_transaction == 3 && sta != NULL &&
sta              1386 drivers/net/wireless/intersil/hostap/hostap_ap.c 	       sta->u.sta.challenge != NULL)))) {
sta              1393 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              1403 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_add_sta(local->ap, hdr->addr2);
sta              1404 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta == NULL) {
sta              1419 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_AUTH;
sta              1424 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (sta->u.sta.challenge == NULL) {
sta              1425 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->u.sta.challenge =
sta              1427 drivers/net/wireless/intersil/hostap/hostap_ap.c 				if (sta->u.sta.challenge == NULL) {
sta              1433 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (sta->u.sta.challenge == NULL ||
sta              1435 drivers/net/wireless/intersil/hostap/hostap_ap.c 			    memcmp(sta->u.sta.challenge, challenge,
sta              1449 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->flags |= WLAN_STA_AUTH;
sta              1450 drivers/net/wireless/intersil/hostap/hostap_ap.c 			kfree(sta->u.sta.challenge);
sta              1451 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->u.sta.challenge = NULL;
sta              1466 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (resp == WLAN_STATUS_SUCCESS && sta != NULL &&
sta              1467 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    sta->u.sta.challenge != NULL &&
sta              1473 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(pos, sta->u.sta.challenge, WLAN_AUTH_CHALLENGE_LEN);
sta              1480 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              1481 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx = jiffies;
sta              1482 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              1505 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              1520 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1521 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL || (sta->flags & WLAN_STA_AUTH) == 0) {
sta              1526 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = NULL; /* do not decrement sta->users */
sta              1529 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_inc(&sta->users);
sta              1533 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->capability = __le16_to_cpu(*pos);
sta              1535 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->listen_interval = __le16_to_cpu(*pos);
sta              1582 drivers/net/wireless/intersil/hostap/hostap_ap.c 			memset(sta->supported_rates, 0,
sta              1583 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       sizeof(sta->supported_rates));
sta              1584 drivers/net/wireless/intersil/hostap/hostap_ap.c 			memcpy(sta->supported_rates, u, ileft);
sta              1585 drivers/net/wireless/intersil/hostap/hostap_ap.c 			prism2_check_tx_rates(sta);
sta              1608 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->aid > 0)
sta              1612 drivers/net/wireless/intersil/hostap/hostap_ap.c 		for (sta->aid = 1; sta->aid <= MAX_AID_TABLE_SIZE; sta->aid++)
sta              1613 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (local->ap->sta_aid[sta->aid - 1] == NULL)
sta              1615 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->aid > MAX_AID_TABLE_SIZE) {
sta              1616 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->aid = 0;
sta              1621 drivers/net/wireless/intersil/hostap/hostap_ap.c 			local->ap->sta_aid[sta->aid - 1] = sta;
sta              1645 drivers/net/wireless/intersil/hostap/hostap_ap.c 		*pos = cpu_to_le16((sta && sta->aid > 0 ? sta->aid : 0) |
sta              1683 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              1685 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->last_rx = jiffies;
sta              1689 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              1714 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              1731 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1732 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL) {
sta              1733 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap)
sta              1734 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_event_expired_sta(local->dev, sta);
sta              1735 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~(WLAN_STA_AUTH | WLAN_STA_ASSOC);
sta              1738 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              1756 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              1773 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1774 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL) {
sta              1775 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap)
sta              1776 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_event_expired_sta(local->dev, sta);
sta              1777 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~WLAN_STA_ASSOC;
sta              1780 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              1810 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              1814 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1815 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              1816 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              1819 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL && (sta->flags & WLAN_STA_ASSOC)) {
sta              1821 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              1827 drivers/net/wireless/intersil/hostap/hostap_ap.c 			 ((sta == NULL || !(sta->flags & WLAN_STA_ASSOC)) ?
sta              1831 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              1832 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              1839 drivers/net/wireless/intersil/hostap/hostap_ap.c static void pspoll_send_buffered(local_info_t *local, struct sta_info *sta,
sta              1844 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!(sta->flags & WLAN_STA_PS)) {
sta              1855 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!skb_queue_empty(&sta->tx_buf)) {
sta              1869 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              1896 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              1897 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              1898 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              1901 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              1905 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->aid != aid) {
sta              1907 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       "assoc.aid=%d\n", aid, sta->aid);
sta              1920 drivers/net/wireless/intersil/hostap/hostap_ap.c 	while ((skb = skb_dequeue(&sta->tx_buf)) != NULL) {
sta              1923 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       " (buffer_count=%d)\n", skb_queue_len(&sta->tx_buf));
sta              1925 drivers/net/wireless/intersil/hostap/hostap_ap.c 		pspoll_send_buffered(local, sta, skb);
sta              1927 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->flags & WLAN_STA_PS) {
sta              1936 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (skb_queue_empty(&sta->tx_buf)) {
sta              1938 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (!(sta->flags & WLAN_STA_TIM))
sta              1942 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~WLAN_STA_TIM;
sta              1945 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              1993 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              2083 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              2084 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL)
sta              2085 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2088 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              2091 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_add_sta(local->ap, hdr->addr2);
sta              2092 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta == NULL) {
sta              2097 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_new_sta(local->dev, sta);
sta              2101 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags = WLAN_STA_AUTH | WLAN_STA_ASSOC;
sta              2104 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_wds_link_oper(local, sta->addr, WDS_ADD);
sta              2108 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->ap = 1;
sta              2110 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->u.ap.ssid_len = ssid_len;
sta              2111 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(sta->u.ap.ssid, ssid, ssid_len);
sta              2112 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->u.ap.ssid[ssid_len] = '\0';
sta              2114 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->u.ap.ssid_len = 0;
sta              2115 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->u.ap.ssid[0] = '\0';
sta              2117 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->u.ap.channel = channel;
sta              2118 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->rx_packets++;
sta              2119 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->rx_bytes += len;
sta              2120 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->u.ap.last_beacon = sta->last_rx = jiffies;
sta              2121 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->capability = capability;
sta              2122 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->listen_interval = beacon_int;
sta              2124 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              2127 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memset(sta->supported_rates, 0, sizeof(sta->supported_rates));
sta              2128 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(sta->supported_rates, supp_rates, supp_rates_len);
sta              2129 drivers/net/wireless/intersil/hostap/hostap_ap.c 		prism2_check_tx_rates(sta);
sta              2289 drivers/net/wireless/intersil/hostap/hostap_ap.c static void schedule_packet_send(local_info_t *local, struct sta_info *sta)
sta              2295 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (skb_queue_empty(&sta->tx_buf))
sta              2311 drivers/net/wireless/intersil/hostap/hostap_ap.c 	memcpy(hdr->addr2, sta->addr, ETH_ALEN);
sta              2312 drivers/net/wireless/intersil/hostap/hostap_ap.c 	hdr->duration_id = cpu_to_le16(sta->aid | BIT(15) | BIT(14));
sta              2316 drivers/net/wireless/intersil/hostap/hostap_ap.c 	       local->dev->name, sta->addr);
sta              2337 drivers/net/wireless/intersil/hostap/hostap_ap.c 		struct sta_info *sta = (struct sta_info *) ptr;
sta              2339 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (aplist && !sta->ap)
sta              2342 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(addr[count].sa_data, sta->addr, ETH_ALEN);
sta              2343 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->last_rx_silence == 0)
sta              2344 drivers/net/wireless/intersil/hostap/hostap_ap.c 			qual[count].qual = sta->last_rx_signal < 27 ?
sta              2345 drivers/net/wireless/intersil/hostap/hostap_ap.c 				0 : (sta->last_rx_signal - 27) * 92 / 127;
sta              2347 drivers/net/wireless/intersil/hostap/hostap_ap.c 			qual[count].qual = sta->last_rx_signal -
sta              2348 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->last_rx_silence - 35;
sta              2349 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal);
sta              2350 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence);
sta              2351 drivers/net/wireless/intersil/hostap/hostap_ap.c 		qual[count].updated = sta->last_rx_updated;
sta              2353 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_updated = IW_QUAL_DBM;
sta              2389 drivers/net/wireless/intersil/hostap/hostap_ap.c 		struct sta_info *sta = (struct sta_info *) ptr;
sta              2395 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN);
sta              2404 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->ap)
sta              2415 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->last_rx_silence == 0)
sta              2416 drivers/net/wireless/intersil/hostap/hostap_ap.c 			iwe.u.qual.qual = sta->last_rx_signal < 27 ?
sta              2417 drivers/net/wireless/intersil/hostap/hostap_ap.c 				0 : (sta->last_rx_signal - 27) * 92 / 127;
sta              2419 drivers/net/wireless/intersil/hostap/hostap_ap.c 			iwe.u.qual.qual = sta->last_rx_signal -
sta              2420 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->last_rx_silence - 35;
sta              2421 drivers/net/wireless/intersil/hostap/hostap_ap.c 		iwe.u.qual.level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal);
sta              2422 drivers/net/wireless/intersil/hostap/hostap_ap.c 		iwe.u.qual.noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence);
sta              2423 drivers/net/wireless/intersil/hostap/hostap_ap.c 		iwe.u.qual.updated = sta->last_rx_updated;
sta              2429 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->ap) {
sta              2432 drivers/net/wireless/intersil/hostap/hostap_ap.c 			iwe.u.data.length = sta->u.ap.ssid_len;
sta              2436 drivers/net/wireless/intersil/hostap/hostap_ap.c 							  sta->u.ap.ssid);
sta              2440 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (sta->capability & WLAN_CAPABILITY_PRIVACY)
sta              2447 drivers/net/wireless/intersil/hostap/hostap_ap.c 							  sta->u.ap.ssid);
sta              2449 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (sta->u.ap.channel > 0 &&
sta              2450 drivers/net/wireless/intersil/hostap/hostap_ap.c 			    sta->u.ap.channel <= FREQ_COUNT) {
sta              2453 drivers/net/wireless/intersil/hostap/hostap_ap.c 				iwe.u.freq.m = freq_list[sta->u.ap.channel - 1]
sta              2464 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->listen_interval);
sta              2471 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_updated = IW_QUAL_DBM;
sta              2485 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2488 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, param->sta_addr);
sta              2489 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              2490 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2493 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL) {
sta              2494 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_add_sta(ap, param->sta_addr);
sta              2495 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta == NULL)
sta              2499 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!(sta->flags & WLAN_STA_ASSOC) && !sta->ap && sta->local)
sta              2500 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_new_sta(sta->local->dev, sta);
sta              2502 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->flags |= WLAN_STA_AUTH | WLAN_STA_ASSOC;
sta              2503 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->last_rx = jiffies;
sta              2504 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->aid = param->u.add_sta.aid;
sta              2505 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->capability = param->u.add_sta.capability;
sta              2506 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_supp_rates = param->u.add_sta.tx_supp_rates;
sta              2507 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_1M)
sta              2508 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[0] = 2;
sta              2509 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_2M)
sta              2510 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[1] = 4;
sta              2511 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_5M5)
sta              2512 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[2] = 11;
sta              2513 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_supp_rates & WLAN_RATE_11M)
sta              2514 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[3] = 22;
sta              2515 drivers/net/wireless/intersil/hostap/hostap_ap.c 	prism2_check_tx_rates(sta);
sta              2516 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              2524 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2527 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, param->sta_addr);
sta              2528 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              2529 drivers/net/wireless/intersil/hostap/hostap_ap.c 		ap_sta_hash_del(ap, sta);
sta              2530 drivers/net/wireless/intersil/hostap/hostap_ap.c 		list_del(&sta->list);
sta              2534 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              2537 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if ((sta->flags & WLAN_STA_ASSOC) && !sta->ap && sta->local)
sta              2538 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_event_expired_sta(sta->local->dev, sta);
sta              2539 drivers/net/wireless/intersil/hostap/hostap_ap.c 	ap_free_sta(ap, sta);
sta              2548 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2551 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, param->sta_addr);
sta              2552 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              2553 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2556 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              2559 drivers/net/wireless/intersil/hostap/hostap_ap.c 	param->u.get_info_sta.inactive_sec = (jiffies - sta->last_rx) / HZ;
sta              2561 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              2570 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2573 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, param->sta_addr);
sta              2574 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              2575 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= param->u.set_flags_sta.flags_or;
sta              2576 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= param->u.set_flags_sta.flags_and;
sta              2580 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              2590 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2594 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, param->sta_addr);
sta              2595 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              2596 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->rx_packets = sta->tx_packets = 0;
sta              2597 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->rx_bytes = sta->tx_bytes = 0;
sta              2599 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_count[rate] = 0;
sta              2600 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->rx_count[rate] = 0;
sta              2605 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              2638 drivers/net/wireless/intersil/hostap/hostap_ap.c static int ap_update_sta_tx_rate(struct sta_info *sta, struct net_device *dev)
sta              2640 drivers/net/wireless/intersil/hostap/hostap_ap.c 	int ret = sta->tx_rate;
sta              2647 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_count[sta->tx_rate_idx]++;
sta              2648 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_since_last_failure++;
sta              2649 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_consecutive_exc = 0;
sta              2650 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_since_last_failure >= WLAN_RATE_UPDATE_COUNT &&
sta              2651 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    sta->tx_rate_idx < sta->tx_max_rate) {
sta              2654 drivers/net/wireless/intersil/hostap/hostap_ap.c 		old_rate = new_rate = sta->tx_rate_idx;
sta              2655 drivers/net/wireless/intersil/hostap/hostap_ap.c 		while (new_rate < sta->tx_max_rate) {
sta              2657 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (ap_tx_rate_ok(new_rate, sta, local)) {
sta              2658 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->tx_rate_idx = new_rate;
sta              2662 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (old_rate != sta->tx_rate_idx) {
sta              2663 drivers/net/wireless/intersil/hostap/hostap_ap.c 			switch (sta->tx_rate_idx) {
sta              2664 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 0: sta->tx_rate = 10; break;
sta              2665 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 1: sta->tx_rate = 20; break;
sta              2666 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 2: sta->tx_rate = 55; break;
sta              2667 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 3: sta->tx_rate = 110; break;
sta              2668 drivers/net/wireless/intersil/hostap/hostap_ap.c 			default: sta->tx_rate = 0; break;
sta              2671 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       dev->name, sta->addr, sta->tx_rate);
sta              2673 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_since_last_failure = 0;
sta              2684 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = NULL;
sta              2707 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr1);
sta              2708 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              2709 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2712 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (local->iw_mode == IW_MODE_MASTER && sta == NULL &&
sta              2732 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta == NULL)
sta              2735 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!(sta->flags & WLAN_STA_AUTHORIZED))
sta              2741 drivers/net/wireless/intersil/hostap/hostap_ap.c 			ap_update_sta_tx_rate(sta, local->dev);
sta              2746 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!(sta->flags & WLAN_STA_PS))
sta              2761 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (skb_queue_len(&sta->tx_buf) >= STA_MAX_TX_BUFFER) {
sta              2764 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       local->dev->name, sta->addr);
sta              2769 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_set_tim(local, sta->aid, 1);
sta              2770 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_TIM;
sta              2776 drivers/net/wireless/intersil/hostap/hostap_ap.c 	set_tim = skb_queue_empty(&sta->tx_buf);
sta              2777 drivers/net/wireless/intersil/hostap/hostap_ap.c 	skb_queue_tail(&sta->tx_buf, skb);
sta              2782 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->flags & WLAN_STA_TIM)
sta              2784 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       sta->aid);
sta              2785 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_set_tim(local, sta->aid, 1);
sta              2786 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_TIM;
sta              2792 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL) {
sta              2795 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_packets++;
sta              2796 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->tx_bytes += skb->len;
sta              2797 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->last_tx = jiffies;
sta              2802 drivers/net/wireless/intersil/hostap/hostap_ap.c 		    sta->crypt && tx->host_encrypt) {
sta              2803 drivers/net/wireless/intersil/hostap/hostap_ap.c 			tx->crypt = sta->crypt;
sta              2804 drivers/net/wireless/intersil/hostap/hostap_ap.c 			tx->sta_ptr = sta; /* hostap_handle_sta_release() will
sta              2808 drivers/net/wireless/intersil/hostap/hostap_ap.c 			atomic_dec(&sta->users);
sta              2817 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta = ptr;
sta              2818 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              2825 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2833 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr1);
sta              2834 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta) {
sta              2842 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_since_last_failure = 0;
sta              2843 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta->tx_consecutive_exc++;
sta              2845 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->tx_consecutive_exc >= WLAN_RATE_DECREASE_THRESHOLD &&
sta              2846 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    sta->tx_rate_idx > 0 && meta->rate <= sta->tx_rate) {
sta              2849 drivers/net/wireless/intersil/hostap/hostap_ap.c 		old = rate = sta->tx_rate_idx;
sta              2852 drivers/net/wireless/intersil/hostap/hostap_ap.c 			if (ap_tx_rate_ok(rate, sta, local)) {
sta              2853 drivers/net/wireless/intersil/hostap/hostap_ap.c 				sta->tx_rate_idx = rate;
sta              2857 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (old != sta->tx_rate_idx) {
sta              2858 drivers/net/wireless/intersil/hostap/hostap_ap.c 			switch (sta->tx_rate_idx) {
sta              2859 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 0: sta->tx_rate = 10; break;
sta              2860 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 1: sta->tx_rate = 20; break;
sta              2861 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 2: sta->tx_rate = 55; break;
sta              2862 drivers/net/wireless/intersil/hostap/hostap_ap.c 			case 3: sta->tx_rate = 110; break;
sta              2863 drivers/net/wireless/intersil/hostap/hostap_ap.c 			default: sta->tx_rate = 0; break;
sta              2867 drivers/net/wireless/intersil/hostap/hostap_ap.c 			       local->dev->name, sta->addr, sta->tx_rate);
sta              2869 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_consecutive_exc = 0;
sta              2875 drivers/net/wireless/intersil/hostap/hostap_ap.c static void hostap_update_sta_ps2(local_info_t *local, struct sta_info *sta,
sta              2878 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (pwrmgt && !(sta->flags & WLAN_STA_PS)) {
sta              2879 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_PS;
sta              2882 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       sta->addr, type >> 2, stype >> 4);
sta              2883 drivers/net/wireless/intersil/hostap/hostap_ap.c 	} else if (!pwrmgt && (sta->flags & WLAN_STA_PS)) {
sta              2884 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags &= ~WLAN_STA_PS;
sta              2887 drivers/net/wireless/intersil/hostap/hostap_ap.c 		       sta->addr, type >> 2, stype >> 4);
sta              2890 drivers/net/wireless/intersil/hostap/hostap_ap.c 			schedule_packet_send(local, sta);
sta              2899 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2903 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              2904 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              2905 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2908 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              2912 drivers/net/wireless/intersil/hostap/hostap_ap.c 	hostap_update_sta_ps2(local, sta, fc & IEEE80211_FCTL_PM,
sta              2916 drivers/net/wireless/intersil/hostap/hostap_ap.c 	atomic_dec(&sta->users);
sta              2929 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              2943 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              2944 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              2945 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              2948 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta && !(sta->flags & WLAN_STA_AUTHORIZED))
sta              2955 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (!wds && (sta == NULL || !(sta->flags & WLAN_STA_ASSOC))) {
sta              2984 drivers/net/wireless/intersil/hostap/hostap_ap.c 	} else if (stype == IEEE80211_STYPE_NULLFUNC && sta == NULL &&
sta              3025 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              3026 drivers/net/wireless/intersil/hostap/hostap_ap.c 		hostap_update_sta_ps2(local, sta, fc & IEEE80211_FCTL_PM,
sta              3029 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->rx_packets++;
sta              3030 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->rx_bytes += skb->len;
sta              3031 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx = jiffies;
sta              3054 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              3055 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              3067 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3070 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(local->ap, hdr->addr2);
sta              3071 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              3072 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              3075 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              3078 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta->crypt) {
sta              3079 drivers/net/wireless/intersil/hostap/hostap_ap.c 		*crypt = sta->crypt;
sta              3080 drivers/net/wireless/intersil/hostap/hostap_ap.c 		*sta_ptr = sta;
sta              3084 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_dec(&sta->users);
sta              3093 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3097 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, sta_addr);
sta              3098 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL && (sta->flags & WLAN_STA_ASSOC) && !sta->ap)
sta              3109 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3113 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, sta_addr);
sta              3114 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta != NULL && (sta->flags & WLAN_STA_ASSOC) && !sta->ap &&
sta              3115 drivers/net/wireless/intersil/hostap/hostap_ap.c 	    ((sta->flags & WLAN_STA_AUTHORIZED) ||
sta              3127 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3134 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, sta_addr);
sta              3135 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              3140 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_add_sta(ap, sta_addr);
sta              3141 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (!sta)
sta              3143 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags = WLAN_STA_AUTH | WLAN_STA_ASSOC;
sta              3144 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->ap = 1;
sta              3145 drivers/net/wireless/intersil/hostap/hostap_ap.c 		memset(sta->supported_rates, 0, sizeof(sta->supported_rates));
sta              3149 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[0] = 0x82;
sta              3150 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[1] = 0x84;
sta              3151 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[2] = 0x0b;
sta              3152 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->supported_rates[3] = 0x16;
sta              3153 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_supp_rates = WLAN_RATE_1M | WLAN_RATE_2M |
sta              3155 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_rate = 110;
sta              3156 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->tx_max_rate = sta->tx_rate_idx = 3;
sta              3168 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3174 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, hdr->addr2);
sta              3175 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta) {
sta              3176 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_silence = rx_stats->noise;
sta              3177 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_signal = rx_stats->signal;
sta              3178 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_rate = rx_stats->rate;
sta              3179 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->last_rx_updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM;
sta              3181 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->rx_count[0]++;
sta              3183 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->rx_count[1]++;
sta              3185 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->rx_count[2]++;
sta              3187 drivers/net/wireless/intersil/hostap/hostap_ap.c 			sta->rx_count[3]++;
sta              3191 drivers/net/wireless/intersil/hostap/hostap_ap.c 	return sta ? 0 : -1;
sta              3197 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3204 drivers/net/wireless/intersil/hostap/hostap_ap.c 	list_for_each_entry(sta, &ap->sta_list, list) {
sta              3205 drivers/net/wireless/intersil/hostap/hostap_ap.c 		prism2_check_tx_rates(sta);
sta              3214 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3217 drivers/net/wireless/intersil/hostap/hostap_ap.c 	sta = ap_get_sta(ap, addr);
sta              3218 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (sta)
sta              3219 drivers/net/wireless/intersil/hostap/hostap_ap.c 		atomic_inc(&sta->users);
sta              3222 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta && permanent)
sta              3223 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta = ap_add_sta(ap, addr);
sta              3225 drivers/net/wireless/intersil/hostap/hostap_ap.c 	if (!sta)
sta              3229 drivers/net/wireless/intersil/hostap/hostap_ap.c 		sta->flags |= WLAN_STA_PERM;
sta              3231 drivers/net/wireless/intersil/hostap/hostap_ap.c 	*crypt = &sta->crypt;
sta              3233 drivers/net/wireless/intersil/hostap/hostap_ap.c 	return sta;
sta              3240 drivers/net/wireless/intersil/hostap/hostap_ap.c 	struct sta_info *sta;
sta              3243 drivers/net/wireless/intersil/hostap/hostap_ap.c 	list_for_each_entry(sta, &ap->sta_list, list) {
sta              3244 drivers/net/wireless/intersil/hostap/hostap_ap.c 		if (sta->ap)
sta              3245 drivers/net/wireless/intersil/hostap/hostap_ap.c 			hostap_wds_link_oper(local, sta->addr, WDS_ADD);
sta                89 drivers/net/wireless/intersil/hostap/hostap_ap.h 		} sta;
sta               111 drivers/net/wireless/intersil/hostap/hostap_ap.h #define STA_HASH(sta) (sta[5])
sta               282 drivers/net/wireless/intersil/p54/fwio.c 	struct p54_sta_unlock *sta;
sta               284 drivers/net/wireless/intersil/p54/fwio.c 	skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*sta),
sta               289 drivers/net/wireless/intersil/p54/fwio.c 	sta = skb_put(skb, sizeof(*sta));
sta               290 drivers/net/wireless/intersil/p54/fwio.c 	memcpy(sta->addr, addr, ETH_ALEN);
sta                36 drivers/net/wireless/intersil/p54/main.c 			      struct ieee80211_sta *sta)
sta                45 drivers/net/wireless/intersil/p54/main.c 	p54_sta_unlock(priv, sta->addr);
sta                52 drivers/net/wireless/intersil/p54/main.c 			      struct ieee80211_sta *sta)
sta                59 drivers/net/wireless/intersil/p54/main.c 		p54_sta_unlock(priv, sta->addr);
sta                66 drivers/net/wireless/intersil/p54/main.c static int p54_set_tim(struct ieee80211_hw *dev, struct ieee80211_sta *sta,
sta                71 drivers/net/wireless/intersil/p54/main.c 	return p54_update_beacon_tim(priv, sta->aid, set);
sta               498 drivers/net/wireless/intersil/p54/main.c 		       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               585 drivers/net/wireless/intersil/p54/main.c 	if (sta)
sta               586 drivers/net/wireless/intersil/p54/main.c 		addr = sta->addr;
sta               689 drivers/net/wireless/intersil/p54/txrx.c 				struct ieee80211_sta *sta,
sta               759 drivers/net/wireless/intersil/p54/txrx.c 		if (sta)
sta               760 drivers/net/wireless/intersil/p54/txrx.c 			*aid = sta->aid;
sta               799 drivers/net/wireless/intersil/p54/txrx.c 	p54_tx_80211_header(priv, skb, info, control->sta, &queue, &extra_len,
sta               212 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_check_sta_magic(struct ieee80211_sta *sta)
sta               214 drivers/net/wireless/mac80211_hwsim.c 	struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
sta               218 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_set_sta_magic(struct ieee80211_sta *sta)
sta               220 drivers/net/wireless/mac80211_hwsim.c 	struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
sta               224 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_clear_sta_magic(struct ieee80211_sta *sta)
sta               226 drivers/net/wireless/mac80211_hwsim.c 	struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
sta              1398 drivers/net/wireless/mac80211_hwsim.c 	if (control->sta)
sta              1399 drivers/net/wireless/mac80211_hwsim.c 		hwsim_check_sta_magic(control->sta);
sta              1402 drivers/net/wireless/mac80211_hwsim.c 		ieee80211_get_tx_rates(txi->control.vif, control->sta, skb,
sta              1804 drivers/net/wireless/mac80211_hwsim.c 				  struct ieee80211_sta *sta)
sta              1807 drivers/net/wireless/mac80211_hwsim.c 	hwsim_set_sta_magic(sta);
sta              1814 drivers/net/wireless/mac80211_hwsim.c 				     struct ieee80211_sta *sta)
sta              1817 drivers/net/wireless/mac80211_hwsim.c 	hwsim_clear_sta_magic(sta);
sta              1825 drivers/net/wireless/mac80211_hwsim.c 				      struct ieee80211_sta *sta)
sta              1841 drivers/net/wireless/mac80211_hwsim.c 				  struct ieee80211_sta *sta,
sta              1844 drivers/net/wireless/mac80211_hwsim.c 	hwsim_check_sta_magic(sta);
sta              1976 drivers/net/wireless/mac80211_hwsim.c 	struct ieee80211_sta *sta = params->sta;
sta              1982 drivers/net/wireless/mac80211_hwsim.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1987 drivers/net/wireless/mac80211_hwsim.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               175 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_sta *sta;
sta              1682 drivers/net/wireless/marvell/mwl8k.c 		struct ieee80211_sta *sta;
sta              1723 drivers/net/wireless/marvell/mwl8k.c 			sta = ieee80211_find_sta_by_ifaddr(hw, wh->addr1,
sta              1725 drivers/net/wireless/marvell/mwl8k.c 			if (sta) {
sta              1726 drivers/net/wireless/marvell/mwl8k.c 				sta_info = MWL8K_STA(sta);
sta              1785 drivers/net/wireless/marvell/mwl8k.c mwl8k_add_stream(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 tid)
sta              1794 drivers/net/wireless/marvell/mwl8k.c 			stream->sta = sta;
sta              1799 drivers/net/wireless/marvell/mwl8k.c 				    sta->addr, tid);
sta              1814 drivers/net/wireless/marvell/mwl8k.c 	ret = ieee80211_start_tx_ba_session(stream->sta, stream->tid, 0);
sta              1817 drivers/net/wireless/marvell/mwl8k.c 			    "%d\n", stream->sta->addr, stream->tid, ret);
sta              1820 drivers/net/wireless/marvell/mwl8k.c 			    stream->sta->addr, stream->tid);
sta              1827 drivers/net/wireless/marvell/mwl8k.c 	wiphy_debug(hw->wiphy, "Remove stream for %pM %d\n", stream->sta->addr,
sta              1843 drivers/net/wireless/marvell/mwl8k.c 		if (!memcmp(stream->sta->addr, addr, ETH_ALEN) &&
sta              1851 drivers/net/wireless/marvell/mwl8k.c static inline bool mwl8k_ampdu_allowed(struct ieee80211_sta *sta, u8 tid)
sta              1853 drivers/net/wireless/marvell/mwl8k.c 	struct mwl8k_sta *sta_info = MWL8K_STA(sta);
sta              1863 drivers/net/wireless/marvell/mwl8k.c static inline void mwl8k_tx_count_packet(struct ieee80211_sta *sta, u8 tid)
sta              1865 drivers/net/wireless/marvell/mwl8k.c 	struct mwl8k_sta *sta_info = MWL8K_STA(sta);
sta              1895 drivers/net/wireless/marvell/mwl8k.c 	       struct ieee80211_sta *sta,
sta              1983 drivers/net/wireless/marvell/mwl8k.c 	if (priv->ap_fw && sta && sta->ht_cap.ht_supported && !eapol_frame &&
sta              1986 drivers/net/wireless/marvell/mwl8k.c 		mwl8k_tx_count_packet(sta, tid);
sta              1988 drivers/net/wireless/marvell/mwl8k.c 		stream = mwl8k_lookup_stream(hw, sta->addr, tid);
sta              2032 drivers/net/wireless/marvell/mwl8k.c 			if (mwl8k_ampdu_allowed(sta, tid)) {
sta              2033 drivers/net/wireless/marvell/mwl8k.c 				stream = mwl8k_add_stream(hw, sta, tid);
sta              2097 drivers/net/wireless/marvell/mwl8k.c 	if (!priv->ap_fw && sta != NULL)
sta              2098 drivers/net/wireless/marvell/mwl8k.c 		tx->peer_id = MWL8K_STA(sta)->peer_id;
sta              3449 drivers/net/wireless/marvell/mwl8k.c 		} sta;
sta              3484 drivers/net/wireless/marvell/mwl8k.c 		cmd->sta.log_cw_max = (u8)ilog2(cw_max + 1);
sta              3485 drivers/net/wireless/marvell/mwl8k.c 		cmd->sta.log_cw_min = (u8)ilog2(cw_min + 1);
sta              3486 drivers/net/wireless/marvell/mwl8k.c 		cmd->sta.aifs = aifs;
sta              3487 drivers/net/wireless/marvell/mwl8k.c 		cmd->sta.txq = qnum;
sta              3839 drivers/net/wireless/marvell/mwl8k.c 				ieee80211_stop_tx_ba_session(streams->sta,
sta              3983 drivers/net/wireless/marvell/mwl8k.c 	memcpy(&cmd->create_params.peer_mac_addr[0], stream->sta->addr,
sta              4019 drivers/net/wireless/marvell/mwl8k.c 	memcpy(cmd->create_params.peer_mac_addr, stream->sta->addr, ETH_ALEN);
sta              4025 drivers/net/wireless/marvell/mwl8k.c 		(stream->sta->ht_cap.ampdu_factor &
sta              4027 drivers/net/wireless/marvell/mwl8k.c 		((stream->sta->ht_cap.ampdu_density << 2) &
sta              4037 drivers/net/wireless/marvell/mwl8k.c 		stream->sta->addr, stream->tid);
sta              4094 drivers/net/wireless/marvell/mwl8k.c 				     struct ieee80211_sta *sta)
sta              4106 drivers/net/wireless/marvell/mwl8k.c 	cmd->aid = cpu_to_le16(sta->aid);
sta              4107 drivers/net/wireless/marvell/mwl8k.c 	memcpy(cmd->mac_addr, sta->addr, ETH_ALEN);
sta              4108 drivers/net/wireless/marvell/mwl8k.c 	cmd->stn_id = cpu_to_le16(sta->aid);
sta              4111 drivers/net/wireless/marvell/mwl8k.c 		rates = sta->supp_rates[NL80211_BAND_2GHZ];
sta              4113 drivers/net/wireless/marvell/mwl8k.c 		rates = sta->supp_rates[NL80211_BAND_5GHZ] << 5;
sta              4115 drivers/net/wireless/marvell/mwl8k.c 	if (sta->ht_cap.ht_supported) {
sta              4116 drivers/net/wireless/marvell/mwl8k.c 		cmd->ht_rates[0] = sta->ht_cap.mcs.rx_mask[0];
sta              4117 drivers/net/wireless/marvell/mwl8k.c 		cmd->ht_rates[1] = sta->ht_cap.mcs.rx_mask[1];
sta              4118 drivers/net/wireless/marvell/mwl8k.c 		cmd->ht_rates[2] = sta->ht_cap.mcs.rx_mask[2];
sta              4119 drivers/net/wireless/marvell/mwl8k.c 		cmd->ht_rates[3] = sta->ht_cap.mcs.rx_mask[3];
sta              4120 drivers/net/wireless/marvell/mwl8k.c 		cmd->ht_capabilities_info = cpu_to_le16(sta->ht_cap.cap);
sta              4121 drivers/net/wireless/marvell/mwl8k.c 		cmd->mac_ht_param_info = (sta->ht_cap.ampdu_factor & 3) |
sta              4122 drivers/net/wireless/marvell/mwl8k.c 			((sta->ht_cap.ampdu_density & 7) << 2);
sta              4166 drivers/net/wireless/marvell/mwl8k.c 			if (memcmp(s->sta->addr, addr, ETH_ALEN) == 0) {
sta              4416 drivers/net/wireless/marvell/mwl8k.c 			 struct ieee80211_sta *sta,
sta              4428 drivers/net/wireless/marvell/mwl8k.c 	if (sta == NULL)
sta              4431 drivers/net/wireless/marvell/mwl8k.c 		addr = sta->addr;
sta              4522 drivers/net/wireless/marvell/mwl8k.c 				      struct ieee80211_sta *sta)
sta              4536 drivers/net/wireless/marvell/mwl8k.c 	memcpy(cmd->peer_addr, sta->addr, ETH_ALEN);
sta              4541 drivers/net/wireless/marvell/mwl8k.c 	p->ht_support = sta->ht_cap.ht_supported;
sta              4542 drivers/net/wireless/marvell/mwl8k.c 	p->ht_caps = cpu_to_le16(sta->ht_cap.cap);
sta              4543 drivers/net/wireless/marvell/mwl8k.c 	p->extended_ht_caps = (sta->ht_cap.ampdu_factor & 3) |
sta              4544 drivers/net/wireless/marvell/mwl8k.c 		((sta->ht_cap.ampdu_density & 7) << 2);
sta              4546 drivers/net/wireless/marvell/mwl8k.c 		rates = sta->supp_rates[NL80211_BAND_2GHZ];
sta              4548 drivers/net/wireless/marvell/mwl8k.c 		rates = sta->supp_rates[NL80211_BAND_5GHZ] << 5;
sta              4550 drivers/net/wireless/marvell/mwl8k.c 	memcpy(p->ht_rates, sta->ht_cap.mcs.rx_mask, 16);
sta              4698 drivers/net/wireless/marvell/mwl8k.c 	mwl8k_txq_xmit(hw, index, control->sta, skb);
sta              5319 drivers/net/wireless/marvell/mwl8k.c 			    struct ieee80211_sta *sta)
sta              5324 drivers/net/wireless/marvell/mwl8k.c 		return mwl8k_cmd_set_new_stn_del(hw, vif, sta->addr);
sta              5326 drivers/net/wireless/marvell/mwl8k.c 		return mwl8k_cmd_update_stadb_del(hw, vif, sta->addr);
sta              5331 drivers/net/wireless/marvell/mwl8k.c 			 struct ieee80211_sta *sta)
sta              5340 drivers/net/wireless/marvell/mwl8k.c 		ret = mwl8k_cmd_update_stadb_add(hw, vif, sta);
sta              5342 drivers/net/wireless/marvell/mwl8k.c 			MWL8K_STA(sta)->peer_id = ret;
sta              5343 drivers/net/wireless/marvell/mwl8k.c 			if (sta->ht_cap.ht_supported)
sta              5344 drivers/net/wireless/marvell/mwl8k.c 				MWL8K_STA(sta)->is_ampdu_allowed = true;
sta              5349 drivers/net/wireless/marvell/mwl8k.c 		ret = mwl8k_cmd_set_new_stn_add(hw, vif, sta);
sta              5355 drivers/net/wireless/marvell/mwl8k.c 			mwl8k_set_key(hw, SET_KEY, vif, sta, key);
sta              5439 drivers/net/wireless/marvell/mwl8k.c 	struct ieee80211_sta *sta = params->sta;
sta              5447 drivers/net/wireless/marvell/mwl8k.c 	u8 *addr = sta->addr, idx;
sta              5448 drivers/net/wireless/marvell/mwl8k.c 	struct mwl8k_sta *sta_info = MWL8K_STA(sta);
sta              5479 drivers/net/wireless/marvell/mwl8k.c 			stream = mwl8k_add_stream(hw, sta, tid);
sta               143 drivers/net/wireless/mediatek/mt76/agg-rx.c 	struct ieee80211_sta *sta;
sta               151 drivers/net/wireless/mediatek/mt76/agg-rx.c 	sta = wcid_to_sta(wcid);
sta               152 drivers/net/wireless/mediatek/mt76/agg-rx.c 	if (!sta)
sta               283 drivers/net/wireless/mediatek/mt76/dma.c 		      struct ieee80211_sta *sta)
sta               333 drivers/net/wireless/mediatek/mt76/dma.c 	ret = dev->drv->tx_prepare_skb(dev, txwi, qid, wcid, sta, &tx_info);
sta               559 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_sta *sta;
sta               565 drivers/net/wireless/mediatek/mt76/mac80211.c 		sta = ieee80211_find_sta_by_ifaddr(dev->hw, hdr->addr2, NULL);
sta               566 drivers/net/wireless/mediatek/mt76/mac80211.c 		if (sta)
sta               567 drivers/net/wireless/mediatek/mt76/mac80211.c 			wcid = status->wcid = (struct mt76_wcid *)sta->drv_priv;
sta               570 drivers/net/wireless/mediatek/mt76/mac80211.c 	if (!wcid || !wcid->sta)
sta               573 drivers/net/wireless/mediatek/mt76/mac80211.c 	sta = container_of((void *)wcid, struct ieee80211_sta, drv_priv);
sta               584 drivers/net/wireless/mediatek/mt76/mac80211.c 		ieee80211_sta_pspoll(sta);
sta               597 drivers/net/wireless/mediatek/mt76/mac80211.c 		ieee80211_sta_uapsd_trigger(sta, status->tid);
sta               607 drivers/net/wireless/mediatek/mt76/mac80211.c 	dev->drv->sta_ps(dev, sta, ps);
sta               608 drivers/net/wireless/mediatek/mt76/mac80211.c 	ieee80211_sta_ps_transition(sta, ps);
sta               613 drivers/net/wireless/mediatek/mt76/mac80211.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
sta               616 drivers/net/wireless/mediatek/mt76/mac80211.c 		if (!sta->txq[i])
sta               619 drivers/net/wireless/mediatek/mt76/mac80211.c 		mtxq = (struct mt76_txq *)sta->txq[i]->drv_priv;
sta               621 drivers/net/wireless/mediatek/mt76/mac80211.c 			ieee80211_schedule_txq(dev->hw, sta->txq[i]);
sta               628 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct ieee80211_sta *sta;
sta               638 drivers/net/wireless/mediatek/mt76/mac80211.c 		sta = mt76_rx_convert(skb);
sta               639 drivers/net/wireless/mediatek/mt76/mac80211.c 		ieee80211_rx_napi(dev->hw, sta, skb, napi);
sta               663 drivers/net/wireless/mediatek/mt76/mac80211.c 	     struct ieee80211_sta *sta)
sta               665 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
sta               671 drivers/net/wireless/mediatek/mt76/mac80211.c 	ret = dev->drv->sta_add(dev, vif, sta);
sta               675 drivers/net/wireless/mediatek/mt76/mac80211.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
sta               678 drivers/net/wireless/mediatek/mt76/mac80211.c 		if (!sta->txq[i])
sta               681 drivers/net/wireless/mediatek/mt76/mac80211.c 		mtxq = (struct mt76_txq *)sta->txq[i]->drv_priv;
sta               684 drivers/net/wireless/mediatek/mt76/mac80211.c 		mt76_txq_init(dev, sta->txq[i]);
sta               697 drivers/net/wireless/mediatek/mt76/mac80211.c 		       struct ieee80211_sta *sta)
sta               699 drivers/net/wireless/mediatek/mt76/mac80211.c 	struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
sta               709 drivers/net/wireless/mediatek/mt76/mac80211.c 		dev->drv->sta_remove(dev, vif, sta);
sta               712 drivers/net/wireless/mediatek/mt76/mac80211.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++)
sta               713 drivers/net/wireless/mediatek/mt76/mac80211.c 		mt76_txq_remove(dev, sta->txq[i]);
sta               720 drivers/net/wireless/mediatek/mt76/mac80211.c 		struct ieee80211_sta *sta)
sta               723 drivers/net/wireless/mediatek/mt76/mac80211.c 	__mt76_sta_remove(dev, vif, sta);
sta               728 drivers/net/wireless/mediatek/mt76/mac80211.c 		   struct ieee80211_sta *sta,
sta               736 drivers/net/wireless/mediatek/mt76/mac80211.c 		return mt76_sta_add(dev, vif, sta);
sta               741 drivers/net/wireless/mediatek/mt76/mac80211.c 		dev->drv->sta_assoc(dev, vif, sta);
sta               745 drivers/net/wireless/mediatek/mt76/mac80211.c 		mt76_sta_remove(dev, vif, sta);
sta               820 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set)
sta               161 drivers/net/wireless/mediatek/mt76/mt76.h 			    struct ieee80211_sta *sta);
sta               204 drivers/net/wireless/mediatek/mt76/mt76.h 	u8 sta:1;
sta               296 drivers/net/wireless/mediatek/mt76/mt76.h 			      struct ieee80211_sta *sta,
sta               309 drivers/net/wireless/mediatek/mt76/mt76.h 	void (*sta_ps)(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               313 drivers/net/wireless/mediatek/mt76/mt76.h 		       struct ieee80211_sta *sta);
sta               316 drivers/net/wireless/mediatek/mt76/mt76.h 			  struct ieee80211_sta *sta);
sta               319 drivers/net/wireless/mediatek/mt76/mt76.h 			   struct ieee80211_sta *sta);
sta               668 drivers/net/wireless/mediatek/mt76/mt76.h 	if (!wcid || !wcid->sta)
sta               704 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_tx(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               709 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_stop_tx_queues(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               715 drivers/net/wireless/mediatek/mt76/mt76.h 				  struct ieee80211_sta *sta,
sta               748 drivers/net/wireless/mediatek/mt76/mt76.h 		   struct ieee80211_sta *sta,
sta               752 drivers/net/wireless/mediatek/mt76/mt76.h 		       struct ieee80211_sta *sta);
sta               762 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set);
sta                26 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 	mt76_tx_queue_skb(dev, MT_TXQ_BEACON, skb, &mvif->sta.wcid, NULL);
sta                30 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		FIELD_PREP(MT_DMA_FQCR0_TARGET_WCID, mvif->sta.wcid.idx) |
sta               123 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c 		mt76_tx_queue_skb(dev, MT_TXQ_CAB, skb, &mvif->sta.wcid, NULL);
sta                35 drivers/net/wireless/mediatek/mt76/mt7603/dma.c 	struct ieee80211_sta *sta;
sta                65 drivers/net/wireless/mediatek/mt76/mt7603/dma.c 	sta = container_of(priv, struct ieee80211_sta, drv_priv);
sta                68 drivers/net/wireless/mediatek/mt76/mt7603/dma.c 	ieee80211_sta_set_buffered(sta, tid, true);
sta               200 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_wtbl_set_smps(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               203 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	u32 addr = mt7603_wtbl1_addr(sta->wcid.idx);
sta               205 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->smps == enabled)
sta               209 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta->smps = enabled;
sta               212 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_wtbl_set_ps(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               215 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	int idx = sta->wcid.idx;
sta               220 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->ps == enabled)
sta               240 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta->ps = enabled;
sta               304 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_wtbl_update_cap(struct mt7603_dev *dev, struct ieee80211_sta *sta)
sta               306 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               315 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	val |= FIELD_PREP(MT_WTBL1_W2_AMPDU_FACTOR, sta->ht_cap.ampdu_factor) |
sta               316 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	       FIELD_PREP(MT_WTBL1_W2_MPDU_DENSITY, sta->ht_cap.ampdu_density) |
sta               319 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->ht_cap.cap)
sta               321 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->vht_cap.cap)
sta               330 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20)
sta               332 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40)
sta               376 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	struct mt7603_sta *sta;
sta               386 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (!wcid->sta)
sta               389 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta = container_of(wcid, struct mt7603_sta, wcid);
sta               390 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (!sta->vif)
sta               393 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	return &sta->vif->sta.wcid;
sta               590 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_wtbl_set_rates(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               595 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	int wcid = sta->wcid.idx;
sta               598 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	int n_rates = sta->n_rates;
sta               612 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	rateset = !(sta->rate_set_tsf & BIT(0));
sta               613 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	memcpy(sta->rateset[rateset].rates, rates,
sta               614 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	       sizeof(sta->rateset[rateset].rates));
sta               616 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		sta->rateset[rateset].probe_rate = *probe_rate;
sta               617 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		ref = &sta->rateset[rateset].probe_rate;
sta               619 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		sta->rateset[rateset].probe_rate.idx = -1;
sta               620 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		ref = &sta->rateset[rateset].rates[0];
sta               623 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	rates = sta->rateset[rateset].rates;
sta               624 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) {
sta               706 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta->rate_set_tsf = (mt76_rr(dev, MT_LPON_UTTR0) & ~BIT(0)) | rateset;
sta               713 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (!(sta->wcid.tx_info & MT_WCID_TX_INFO_SET))
sta               716 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta->rate_count = 2 * MT7603_RATE_RETRY * n_rates;
sta               717 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta->wcid.tx_info |= MT_WCID_TX_INFO_SET;
sta               780 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		      struct mt76_wcid *wcid, struct ieee80211_sta *sta,
sta               807 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta) {
sta               808 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               909 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			  struct ieee80211_sta *sta,
sta               921 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (sta) {
sta               922 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		msta = (struct mt7603_sta *)sta->drv_priv;
sta               941 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			      sta, pid, key);
sta               947 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt7603_fill_txs(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta              1003 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	rate_set_tsf = READ_ONCE(sta->rate_set_tsf);
sta              1007 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	rs = &sta->rateset[rs_idx];
sta              1013 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		if (sta->rate_probe) {
sta              1014 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			mt7603_wtbl_set_rates(dev, sta, NULL,
sta              1015 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 					      sta->rates);
sta              1016 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 			sta->rate_probe = false;
sta              1082 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mt7603_mac_add_txs_skb(struct mt7603_dev *dev, struct mt7603_sta *sta, int pid,
sta              1093 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	skb = mt76_tx_status_skb_get(mdev, &sta->wcid, pid, &list);
sta              1097 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		if (!mt7603_fill_txs(dev, sta, info, txs_data)) {
sta              1112 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	struct ieee80211_sta *sta = NULL;
sta              1138 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	sta = wcid_to_sta(wcid);
sta              1143 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 	if (wcidx >= MT7603_WTBL_STA || !sta)
sta              1147 drivers/net/wireless/mediatek/mt76/mt7603/mac.c 		ieee80211_tx_status_noskb(mt76_hw(dev), sta, &info);
sta                68 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mvif->sta.wcid.idx = idx;
sta                69 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mvif->sta.wcid.hw_key_idx = -1;
sta                75 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mtxq->wcid = &mvif->sta.wcid;
sta                77 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
sta                90 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	int idx = mvif->sta.wcid.idx;
sta               315 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	       struct ieee80211_sta *sta)
sta               318 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               330 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	msta->wcid.sta = 1;
sta               332 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mt7603_wtbl_init(dev, idx, mvif->idx, sta->addr);
sta               343 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		 struct ieee80211_sta *sta)
sta               347 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mt7603_wtbl_update_cap(dev, sta);
sta               352 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		  struct ieee80211_sta *sta)
sta               355 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               356 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
sta               377 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps)
sta               380 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               383 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mt76_stop_tx_queues(&dev->mt76, sta, true);
sta               408 drivers/net/wireless/mediatek/mt76/mt7603/main.c 			       struct ieee80211_sta *sta,
sta               414 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               439 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		ieee80211_sta_eosp(sta);
sta               444 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		mt76_release_buffered_frames(hw, sta, tids, nframes, reason,
sta               450 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               455 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = sta ? (struct mt7603_sta *)sta->drv_priv :
sta               456 drivers/net/wireless/mediatek/mt76/mt7603/main.c 				  &mvif->sta;
sta               551 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct ieee80211_sta *sta = params->sta;
sta               552 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct ieee80211_txq *txq = sta->txq[params->tid];
sta               553 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               568 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		mt7603_mac_rx_ba_reset(dev, sta->addr, tid);
sta               585 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               590 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               599 drivers/net/wireless/mediatek/mt76/mt7603/main.c 			   struct ieee80211_sta *sta)
sta               602 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
sta               603 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	struct ieee80211_sta_rates *sta_rates = rcu_dereference(sta->rates);
sta               619 drivers/net/wireless/mediatek/mt76/mt7603/main.c 			     sta->smps_mode == IEEE80211_SMPS_DYNAMIC);
sta               641 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	if (control->sta) {
sta               644 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		msta = (struct mt7603_sta *)control->sta->drv_priv;
sta               650 drivers/net/wireless/mediatek/mt76/mt7603/main.c 		wcid = &mvif->sta.wcid;
sta               653 drivers/net/wireless/mediatek/mt76/mt7603/main.c 	mt76_tx(&dev->mt76, control->sta, wcid, skb);
sta                81 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h 	struct mt7603_sta sta; /* must be first */
sta               215 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_wtbl_update_cap(struct mt7603_dev *dev, struct ieee80211_sta *sta);
sta               216 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_wtbl_set_rates(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               221 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_wtbl_set_ps(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               223 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_wtbl_set_smps(struct mt7603_dev *dev, struct mt7603_sta *sta,
sta               229 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h 			  struct ieee80211_sta *sta,
sta               238 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps);
sta               240 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h 		   struct ieee80211_sta *sta);
sta               242 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h 		      struct ieee80211_sta *sta);
sta               244 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h 		       struct ieee80211_sta *sta);
sta                24 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	struct mt7615_sta *sta;
sta                34 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (!wcid->sta)
sta                37 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	sta = container_of(wcid, struct mt7615_sta, wcid);
sta                38 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (!sta->vif)
sta                41 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	return &sta->vif->sta.wcid;
sta               218 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps)
sta               307 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			  struct ieee80211_sta *sta, int pid,
sta               328 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (sta) {
sta               329 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta               463 drivers/net/wireless/mediatek/mt76/mt7615/mac.c void mt7615_mac_set_rates(struct mt7615_dev *dev, struct mt7615_sta *sta,
sta               468 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	int wcid = sta->wcid.idx;
sta               471 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	int n_rates = sta->n_rates;
sta               485 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	rateset = !(sta->rate_set_tsf & BIT(0));
sta               486 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	memcpy(sta->rateset[rateset].rates, rates,
sta               487 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	       sizeof(sta->rateset[rateset].rates));
sta               489 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		sta->rateset[rateset].probe_rate = *probe_rate;
sta               490 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		ref = &sta->rateset[rateset].probe_rate;
sta               492 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		sta->rateset[rateset].probe_rate.idx = -1;
sta               493 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		ref = &sta->rateset[rateset].rates[0];
sta               496 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	rates = sta->rateset[rateset].rates;
sta               497 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	for (i = 0; i < ARRAY_SIZE(sta->rateset[rateset].rates); i++) {
sta               591 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	sta->rate_set_tsf = (mt76_rr(dev, MT_LPON_UTTR0) & ~BIT(0)) | rateset;
sta               593 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (!(sta->wcid.tx_info & MT_WCID_TX_INFO_SET))
sta               596 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	sta->rate_count = 2 * MT7615_RATE_RETRY * n_rates;
sta               597 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	sta->wcid.tx_info |= MT_WCID_TX_INFO_SET;
sta               764 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			  struct ieee80211_sta *sta,
sta               791 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	mt7615_mac_write_txwi(dev, txwi_ptr, tx_info->skb, wcid, sta,
sta               835 drivers/net/wireless/mediatek/mt76/mt7615/mac.c static bool mt7615_fill_txs(struct mt7615_dev *dev, struct mt7615_sta *sta,
sta               886 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	rate_set_tsf = READ_ONCE(sta->rate_set_tsf);
sta               890 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	rs = &sta->rateset[rs_idx];
sta               896 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		if (sta->rate_probe) {
sta               897 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			mt7615_mac_set_rates(dev, sta, NULL, sta->rates);
sta               898 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 			sta->rate_probe = false;
sta               973 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 				   struct mt7615_sta *sta, int pid,
sta               984 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	skb = mt76_tx_status_skb_get(mdev, &sta->wcid, pid, &list);
sta               988 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		if (!mt7615_fill_txs(dev, sta, info, txs_data)) {
sta              1003 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	struct ieee80211_sta *sta = NULL;
sta              1029 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	sta = wcid_to_sta(wcid);
sta              1034 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 	if (wcidx >= MT7615_WTBL_STA || !sta)
sta              1038 drivers/net/wireless/mediatek/mt76/mt7615/mac.c 		ieee80211_tx_status_noskb(mt76_hw(dev), sta, &info);
sta               100 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mvif->sta.wcid.idx = idx;
sta               101 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mvif->sta.wcid.hw_key_idx = -1;
sta               103 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	rcu_assign_pointer(dev->mt76.wcid[idx], &mvif->sta.wcid);
sta               105 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mtxq->wcid = &mvif->sta.wcid;
sta               119 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	int idx = mvif->sta.wcid.idx;
sta               168 drivers/net/wireless/mediatek/mt76/mt7615/main.c 			  struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               173 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct mt7615_sta *msta = sta ? (struct mt7615_sta *)sta->drv_priv :
sta               174 drivers/net/wireless/mediatek/mt76/mt7615/main.c 				  &mvif->sta;
sta               340 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		   struct ieee80211_sta *sta)
sta               343 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta               352 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	msta->wcid.sta = 1;
sta               355 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mt7615_mcu_add_wtbl(dev, vif, sta);
sta               356 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mt7615_mcu_set_sta_rec(dev, vif, sta, 1);
sta               362 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		      struct ieee80211_sta *sta)
sta               366 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	if (sta->ht_cap.ht_supported)
sta               367 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		mt7615_mcu_set_ht_cap(dev, vif, sta);
sta               371 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		       struct ieee80211_sta *sta)
sta               375 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mt7615_mcu_set_sta_rec(dev, vif, sta, 0);
sta               376 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mt7615_mcu_del_wtbl(dev, sta);
sta               381 drivers/net/wireless/mediatek/mt76/mt7615/main.c 				       struct ieee80211_sta *sta)
sta               384 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta               385 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct ieee80211_sta_rates *sta_rates = rcu_dereference(sta->rates);
sta               412 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	if (control->sta) {
sta               413 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		struct mt7615_sta *sta;
sta               415 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		sta = (struct mt7615_sta *)control->sta->drv_priv;
sta               416 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		wcid = &sta->wcid;
sta               419 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	if (vif && !control->sta) {
sta               423 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		wcid = &mvif->sta.wcid;
sta               426 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	mt76_tx(&dev->mt76, control->sta, wcid, skb);
sta               446 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct ieee80211_sta *sta = params->sta;
sta               447 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct ieee80211_txq *txq = sta->txq[params->tid];
sta               448 drivers/net/wireless/mediatek/mt76/mt7615/main.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta               480 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               485 drivers/net/wireless/mediatek/mt76/mt7615/main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               828 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		tx_wlan_idx = mvif->sta.wcid.idx;
sta               834 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			struct ieee80211_sta *sta;
sta               838 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			sta = ieee80211_find_sta(vif, vif->bss_conf.bssid);
sta               839 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			if (!sta) {
sta               844 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			msta = (struct mt7615_sta *)sta->drv_priv;
sta               906 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.wlan_idx = mvif->sta.wcid.idx,
sta               936 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.wlan_idx = mvif->sta.wcid.idx,
sta               948 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			struct ieee80211_sta *sta)
sta               951 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta               966 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.qos = sta->wme,
sta               967 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.partial_aid = cpu_to_le16(sta->aid),
sta               977 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(req.g_wtbl.peer_addr, sta->addr, ETH_ALEN);
sta               984 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			struct ieee80211_sta *sta)
sta               986 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta              1016 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.wlan_idx = mvif->sta.wcid.idx,
sta              1043 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			   struct ieee80211_sta *sta, bool en)
sta              1046 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta              1062 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.qos = sta->wme,
sta              1063 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			.aid = cpu_to_le16(sta->aid),
sta              1066 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(req.basic.peer_addr, sta->addr, ETH_ALEN);
sta              1343 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 			  struct ieee80211_sta *sta)
sta              1345 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)sta->drv_priv;
sta              1370 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	wtbl_ht->ldpc = sta->ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING;
sta              1371 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	wtbl_ht->af = sta->ht_cap.ampdu_factor;
sta              1372 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	wtbl_ht->mm = sta->ht_cap.ampdu_density;
sta              1375 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20)
sta              1377 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40)
sta              1381 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (sta->vht_cap.vht_supported) {
sta              1388 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		wtbl_vht->ldpc = sta->vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC;
sta              1392 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		if (sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80)
sta              1394 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		if (sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_160)
sta              1399 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (sta->smps_mode == IEEE80211_SMPS_DYNAMIC) {
sta              1435 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	ntlv = sta->vht_cap.vht_supported ? 2 : 1;
sta              1443 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	sta_ht->ht_cap = cpu_to_le16(sta->ht_cap.cap);
sta              1446 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	if (sta->vht_cap.vht_supported) {
sta              1453 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		sta_vht->vht_cap = cpu_to_le32(sta->vht_cap.cap);
sta              1454 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		sta_vht->vht_rx_mcs_map = sta->vht_cap.vht_mcs.rx_mcs_map;
sta              1455 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 		sta_vht->vht_tx_mcs_map = sta->vht_cap.vht_mcs.tx_mcs_map;
sta              1470 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)params->sta->drv_priv;
sta              1538 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	struct mt7615_sta *msta = (struct mt7615_sta *)params->sta->drv_priv;
sta              1583 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 	memcpy(wtbl_req.ba.peer_addr, params->sta->addr, ETH_ALEN);
sta                76 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 	struct mt7615_sta sta;
sta               171 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_mac_set_rates(struct mt7615_dev *dev, struct mt7615_sta *sta,
sta               177 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 			struct ieee80211_sta *sta);
sta               178 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_del_wtbl(struct mt7615_dev *dev, struct ieee80211_sta *sta);
sta               183 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 			   struct ieee80211_sta *sta, bool en);
sta               196 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 			  struct ieee80211_sta *sta);
sta               236 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 			  struct ieee80211_sta *sta, int pid,
sta               255 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 			  struct ieee80211_sta *sta,
sta               263 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps);
sta               265 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 		   struct ieee80211_sta *sta);
sta               267 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 		      struct ieee80211_sta *sta);
sta               269 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 		       struct ieee80211_sta *sta);
sta                56 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c 		struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta                64 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c 	return mt76x02_set_key(hw, cmd, vif, sta, key);
sta               137 drivers/net/wireless/mediatek/mt76/mt76x02.h 		    struct ieee80211_sta *sta);
sta               139 drivers/net/wireless/mediatek/mt76/mt76x02.h 			struct ieee80211_sta *sta);
sta               151 drivers/net/wireless/mediatek/mt76/mt76x02.h 		    struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               157 drivers/net/wireless/mediatek/mt76/mt76x02.h 				 struct ieee80211_sta *sta);
sta               178 drivers/net/wireless/mediatek/mt76/mt76x02.h 			   struct ieee80211_sta *sta,
sta               182 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_sta_ps(struct mt76_dev *dev, struct ieee80211_sta *sta, bool ps);
sta               254 drivers/net/wireless/mediatek/mt76/mt76x02.h mt76x02_rx_get_sta_wcid(struct mt76x02_sta *sta, bool unicast)
sta               256 drivers/net/wireless/mediatek/mt76/mt76x02.h 	if (!sta)
sta               260 drivers/net/wireless/mediatek/mt76/mt76x02.h 		return &sta->wcid;
sta               262 drivers/net/wireless/mediatek/mt76/mt76x02.h 		return &sta->vif->group_wcid;
sta               315 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 			    struct ieee80211_sta *sta, int len)
sta               333 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		ieee80211_get_tx_rates(info->control.vif, sta, skb,
sta               382 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	if (nss > 1 && sta && sta->smps_mode == IEEE80211_SMPS_DYNAMIC)
sta               388 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	if ((info->flags & IEEE80211_TX_CTL_AMPDU) && sta) {
sta               391 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		ba_size <<= sta->ht_cap.ampdu_factor;
sta               399 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 				    sta->ht_cap.ampdu_density);
sta               532 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	if (wcid && wcid->sta) {
sta               536 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 		status.sta = container_of(priv, struct ieee80211_sta,
sta               712 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	struct mt76x02_sta *sta;
sta               738 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	sta = mt76x02_rx_get_sta(&dev->mt76, wcid);
sta               739 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c 	status->wcid = mt76x02_rx_get_sta_wcid(sta, unicast);
sta               188 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h 			    struct ieee80211_sta *sta, int len);
sta               381 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 			     struct ieee80211_sta *sta,
sta               387 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 	if (!sta)
sta               390 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 	wcid = (struct mt76_wcid *)sta->drv_priv;
sta               411 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 		struct ieee80211_sta *sta;
sta               423 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 		sta = container_of(priv, struct ieee80211_sta, drv_priv);
sta               428 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c 		__mt76_sta_remove(&dev->mt76, vif, sta);
sta                19 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 	if (control->sta) {
sta                22 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 		msta = (struct mt76x02_sta *)control->sta->drv_priv;
sta                31 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 	mt76_tx(&dev->mt76, control->sta, wcid, skb);
sta               140 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 			   struct ieee80211_sta *sta,
sta               154 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c 	mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
sta                19 drivers/net/wireless/mediatek/mt76/mt76x02_usb.h 			    struct ieee80211_sta *sta,
sta                65 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c 			    struct ieee80211_sta *sta,
sta                78 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c 	mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len);
sta               248 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		    struct ieee80211_sta *sta)
sta               251 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv;
sta               262 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	msta->wcid.sta = 1;
sta               265 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	mt76x02_mac_wcid_setup(dev, idx, mvif->idx, sta->addr);
sta               276 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 			struct ieee80211_sta *sta)
sta               279 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
sta               361 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct ieee80211_sta *sta = params->sta;
sta               363 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv;
sta               364 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct ieee80211_txq *txq = sta->txq[params->tid];
sta               388 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn);
sta               396 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               400 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               409 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 		    struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               451 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	msta = sta ? (struct mt76x02_sta *)sta->drv_priv : NULL;
sta               576 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 				 struct ieee80211_sta *sta)
sta               579 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv;
sta               580 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct ieee80211_sta_rates *rates = rcu_dereference(sta->rates);
sta               619 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta,
sta               623 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	struct mt76x02_sta *msta = (struct mt76x02_sta *)sta->drv_priv;
sta               626 drivers/net/wireless/mediatek/mt76/mt76x02_util.c 	mt76_stop_tx_queues(&dev->mt76, sta, true);
sta                80 drivers/net/wireless/mediatek/mt76/tx.c 	if (!txq->sta)
sta               248 drivers/net/wireless/mediatek/mt76/tx.c mt76_tx(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               262 drivers/net/wireless/mediatek/mt76/tx.c 		ieee80211_get_tx_rates(info->control.vif, sta, skb,
sta               265 drivers/net/wireless/mediatek/mt76/tx.c 	if (sta && ieee80211_is_data_qos(hdr->frame_control)) {
sta               271 drivers/net/wireless/mediatek/mt76/tx.c 		txq = sta->txq[tid];
sta               281 drivers/net/wireless/mediatek/mt76/tx.c 	dev->queue_ops->tx_queue_skb(dev, qid, skb, wcid, sta);
sta               304 drivers/net/wireless/mediatek/mt76/tx.c 			ieee80211_sta_set_buffered(txq->sta, tid, false);
sta               317 drivers/net/wireless/mediatek/mt76/tx.c mt76_queue_ps_skb(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               320 drivers/net/wireless/mediatek/mt76/tx.c 	struct mt76_wcid *wcid = (struct mt76_wcid *)sta->drv_priv;
sta               329 drivers/net/wireless/mediatek/mt76/tx.c 	dev->queue_ops->tx_queue_skb(dev, MT_TXQ_PSD, skb, wcid, sta);
sta               333 drivers/net/wireless/mediatek/mt76/tx.c mt76_release_buffered_frames(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               345 drivers/net/wireless/mediatek/mt76/tx.c 		struct ieee80211_txq *txq = sta->txq[i];
sta               362 drivers/net/wireless/mediatek/mt76/tx.c 				mt76_queue_ps_skb(dev, sta, last_skb, false);
sta               369 drivers/net/wireless/mediatek/mt76/tx.c 		mt76_queue_ps_skb(dev, sta, last_skb, true);
sta               372 drivers/net/wireless/mediatek/mt76/tx.c 		ieee80211_sta_eosp(sta);
sta               408 drivers/net/wireless/mediatek/mt76/tx.c 		ieee80211_get_tx_rates(txq->vif, txq->sta, skb,
sta               419 drivers/net/wireless/mediatek/mt76/tx.c 	idx = dev->queue_ops->tx_queue_skb(dev, qid, skb, wcid, txq->sta);
sta               454 drivers/net/wireless/mediatek/mt76/tx.c 						   txq->sta);
sta               505 drivers/net/wireless/mediatek/mt76/tx.c 			struct ieee80211_sta *sta = txq->sta;
sta               512 drivers/net/wireless/mediatek/mt76/tx.c 			ieee80211_send_bar(vif, sta->addr, tid, agg_ssn);
sta               565 drivers/net/wireless/mediatek/mt76/tx.c void mt76_stop_tx_queues(struct mt76_dev *dev, struct ieee80211_sta *sta,
sta               570 drivers/net/wireless/mediatek/mt76/tx.c 	for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
sta               571 drivers/net/wireless/mediatek/mt76/tx.c 		struct ieee80211_txq *txq = sta->txq[i];
sta               770 drivers/net/wireless/mediatek/mt76/usb.c 		   struct ieee80211_sta *sta)
sta               783 drivers/net/wireless/mediatek/mt76/usb.c 	err = dev->drv->tx_prepare_skb(dev, NULL, qid, wcid, sta, &tx_info);
sta               177 drivers/net/wireless/mediatek/mt7601u/mac.c 	struct ieee80211_sta *sta = NULL;
sta               187 drivers/net/wireless/mediatek/mt7601u/mac.c 		sta = container_of(msta, struct ieee80211_sta,
sta               194 drivers/net/wireless/mediatek/mt7601u/mac.c 	ieee80211_tx_status_noskb(dev->hw, sta, &info);
sta               373 drivers/net/wireless/mediatek/mt7601u/mac.c 	struct ieee80211_sta *sta;
sta               386 drivers/net/wireless/mediatek/mt7601u/mac.c 		sta = container_of(msta, struct ieee80211_sta, drv_priv);
sta               388 drivers/net/wireless/mediatek/mt7601u/mac.c 		min_factor = min(min_factor, sta->ht_cap.ampdu_factor);
sta               210 drivers/net/wireless/mediatek/mt7601u/main.c 		struct ieee80211_sta *sta)
sta               213 drivers/net/wireless/mediatek/mt7601u/main.c 	struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv;
sta               228 drivers/net/wireless/mediatek/mt7601u/main.c 	mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr);
sta               241 drivers/net/wireless/mediatek/mt7601u/main.c 		   struct ieee80211_sta *sta)
sta               244 drivers/net/wireless/mediatek/mt7601u/main.c 	struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv;
sta               260 drivers/net/wireless/mediatek/mt7601u/main.c 		   enum sta_notify_cmd cmd, struct ieee80211_sta *sta)
sta               293 drivers/net/wireless/mediatek/mt7601u/main.c 		struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               298 drivers/net/wireless/mediatek/mt7601u/main.c 	struct mt76_sta *msta = sta ? (struct mt76_sta *) sta->drv_priv : NULL;
sta               351 drivers/net/wireless/mediatek/mt7601u/main.c 	struct ieee80211_sta *sta = params->sta;
sta               355 drivers/net/wireless/mediatek/mt7601u/main.c 	struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv;
sta               368 drivers/net/wireless/mediatek/mt7601u/main.c 		ieee80211_send_bar(vif, sta->addr, tid, msta->agg_ssn[tid]);
sta               375 drivers/net/wireless/mediatek/mt7601u/main.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               378 drivers/net/wireless/mediatek/mt7601u/main.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               387 drivers/net/wireless/mediatek/mt7601u/main.c 			 struct ieee80211_sta *sta)
sta               390 drivers/net/wireless/mediatek/mt7601u/main.c 	struct mt76_sta *msta = (struct mt76_sta *) sta->drv_priv;
sta               395 drivers/net/wireless/mediatek/mt7601u/main.c 	rates = rcu_dereference(sta->rates);
sta               279 drivers/net/wireless/mediatek/mt7601u/trace.h 		 struct mt76_sta *sta, struct mt76_txwi *h),
sta               280 drivers/net/wireless/mediatek/mt7601u/trace.h 	TP_ARGS(dev, skb, sta, h),
sta               285 drivers/net/wireless/mediatek/mt7601u/trace.h 		__field(struct mt76_sta *, sta)
sta               291 drivers/net/wireless/mediatek/mt7601u/trace.h 		__entry->sta = sta;
sta               295 drivers/net/wireless/mediatek/mt7601u/trace.h 		  __entry->skb, __entry->sta,
sta               131 drivers/net/wireless/mediatek/mt7601u/tx.c 		  struct ieee80211_sta *sta, struct mt76_wcid *wcid,
sta               147 drivers/net/wireless/mediatek/mt7601u/tx.c 		ieee80211_get_tx_rates(info->control.vif, sta, skb,
sta               163 drivers/net/wireless/mediatek/mt7601u/tx.c 	if ((info->flags & IEEE80211_TX_CTL_AMPDU) && sta) {
sta               166 drivers/net/wireless/mediatek/mt7601u/tx.c 		ba_size <<= sta->ht_cap.ampdu_factor;
sta               175 drivers/net/wireless/mediatek/mt7601u/tx.c 					       sta->ht_cap.ampdu_density));
sta               196 drivers/net/wireless/mediatek/mt7601u/tx.c 	struct ieee80211_sta *sta = control->sta;
sta               211 drivers/net/wireless/mediatek/mt7601u/tx.c 	if (sta) {
sta               212 drivers/net/wireless/mediatek/mt7601u/tx.c 		msta = (struct mt76_sta *) sta->drv_priv;
sta               220 drivers/net/wireless/mediatek/mt7601u/tx.c 	txwi = mt7601u_push_txwi(dev, skb, sta, wcid, pkt_len);
sta              1087 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			skbdesc->sta = drv_data->wcid_to_sta[wcid - WCID_START];
sta              1089 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 			skbdesc->sta = NULL;
sta              1781 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		   struct ieee80211_sta *sta)
sta              1785 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta);
sta              1794 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	if (sta->ht_cap.ht_supported) {
sta              1795 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		drv_data->ampdu_factor_cnt[sta->ht_cap.ampdu_factor & 3]++;
sta              1819 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	drv_data->wcid_to_sta[wcid - WCID_START] = sta;
sta              1825 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	rt2800_config_wcid(rt2x00dev, sta->addr, wcid);
sta              1833 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		      struct ieee80211_sta *sta)
sta              1837 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta);
sta              1840 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	if (sta->ht_cap.ht_supported) {
sta              1841 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		drv_data->ampdu_factor_cnt[sta->ht_cap.ampdu_factor & 3]--;
sta              10462 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	struct ieee80211_sta *sta = params->sta;
sta              10465 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	struct rt2x00_sta *sta_priv = (struct rt2x00_sta *)sta->drv_priv;
sta              10489 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              10494 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               215 drivers/net/wireless/ralink/rt2x00/rt2800lib.h 		   struct ieee80211_sta *sta);
sta               217 drivers/net/wireless/ralink/rt2x00/rt2800lib.h 		      struct ieee80211_sta *sta);
sta               504 drivers/net/wireless/ralink/rt2x00/rt2x00.h static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta *sta)
sta               506 drivers/net/wireless/ralink/rt2x00/rt2x00.h 	return (struct rt2x00_sta *)sta->drv_priv;
sta               622 drivers/net/wireless/ralink/rt2x00/rt2x00.h 			struct ieee80211_sta *sta);
sta               624 drivers/net/wireless/ralink/rt2x00/rt2x00.h 			   struct ieee80211_sta *sta);
sta              1451 drivers/net/wireless/ralink/rt2x00/rt2x00.h int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta              1455 drivers/net/wireless/ralink/rt2x00/rt2x00.h 		      struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               452 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c 		ieee80211_tx_status_noskb(rt2x00dev->hw, skbdesc->sta, &txinfo);
sta               137 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h 			       struct ieee80211_sta *sta, bool local);
sta               151 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 	if (unlikely(rt2x00queue_write_tx_frame(queue, skb, control->sta, false)))
sta               398 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               436 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 		      struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               476 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 	if (sta) {
sta               477 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 		crypto.address = sta->addr;
sta               478 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c 		sta_priv = sta_to_rt2x00_sta(sta);
sta               294 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 						struct ieee80211_sta *sta,
sta               303 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 	if (sta) {
sta               304 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 		sta_priv = sta_to_rt2x00_sta(sta);
sta               306 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 		density = sta->ht_cap.ampdu_density;
sta               320 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 		if (sta && txdesc->u.ht.mcs > 7 &&
sta               321 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 		    sta->smps_mode == IEEE80211_SMPS_DYNAMIC)
sta               387 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 					     struct ieee80211_sta *sta)
sta               481 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 						   sta, hwrate);
sta               602 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 			       struct ieee80211_sta *sta, bool local)
sta               616 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 	rt2x00queue_create_tx_descriptor(queue->rt2x00dev, skb, &txdesc, sta);
sta               108 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	struct ieee80211_sta *sta;
sta              4490 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	struct ieee80211_sta *sta;
sta              4504 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta              4505 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			if (!sta) {
sta              4512 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			if (sta->ht_cap.ht_supported)
sta              4514 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			if (sta->vht_cap.vht_supported)
sta              4518 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			ramask = (sta->supp_rates[0] & 0xfff) |
sta              4519 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 				sta->ht_cap.mcs.rx_mask[0] << 12 |
sta              4520 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 				sta->ht_cap.mcs.rx_mask[1] << 20;
sta              4521 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			if (sta->ht_cap.cap &
sta              4916 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	struct ieee80211_sta *sta = NULL;
sta              4950 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	if (control && control->sta)
sta              4951 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		sta = control->sta;
sta              4985 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	if (ieee80211_is_data_qos(hdr->frame_control) && sta) {
sta              4986 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		if (sta->ht_cap.ht_supported) {
sta              4989 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			ampdu = (u32)sta->ht_cap.ampdu_density;
sta              4999 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	     sta && sta->ht_cap.cap &
sta              5004 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	    (sta && vif && vif->bss_conf.use_short_preamble))
sta              5662 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			    struct ieee80211_sta *sta,
sta              5699 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		ether_addr_copy(mac_addr, sta->addr);
sta              5742 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	struct ieee80211_sta *sta = params->sta;
sta              5748 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		ampdu_factor = sta->ht_cap.ampdu_factor;
sta              5749 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		ampdu_density = sta->ht_cap.ampdu_density;
sta               618 drivers/net/wireless/realtek/rtlwifi/base.c 			       struct ieee80211_sta *sta,
sta               629 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta               632 drivers/net/wireless/realtek/rtlwifi/base.c 	sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40;
sta               633 drivers/net/wireless/realtek/rtlwifi/base.c 	sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20;
sta               634 drivers/net/wireless/realtek/rtlwifi/base.c 	sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80;
sta               636 drivers/net/wireless/realtek/rtlwifi/base.c 	if ((!sta->ht_cap.ht_supported) && (!sta->vht_cap.vht_supported))
sta               648 drivers/net/wireless/realtek/rtlwifi/base.c 		bw_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40;
sta               649 drivers/net/wireless/realtek/rtlwifi/base.c 		bw_80 = sta->vht_cap.vht_supported;
sta               768 drivers/net/wireless/realtek/rtlwifi/base.c 				   struct ieee80211_sta *sta,
sta               784 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta) {
sta               785 drivers/net/wireless/realtek/rtlwifi/base.c 		sta_entry = (struct rtl_sta_info *) sta->drv_priv;
sta               814 drivers/net/wireless/realtek/rtlwifi/base.c 			if (sta &&
sta               841 drivers/net/wireless/realtek/rtlwifi/base.c 			if (NULL != sta) {
sta               842 drivers/net/wireless/realtek/rtlwifi/base.c 				if (sta->aid > 0)
sta               843 drivers/net/wireless/realtek/rtlwifi/base.c 					tcb_desc->mac_id = sta->aid + 1;
sta               855 drivers/net/wireless/realtek/rtlwifi/base.c 				      struct ieee80211_sta *sta,
sta               862 drivers/net/wireless/realtek/rtlwifi/base.c 	if (!sta)
sta               867 drivers/net/wireless/realtek/rtlwifi/base.c 		if (!(sta->ht_cap.ht_supported) ||
sta               868 drivers/net/wireless/realtek/rtlwifi/base.c 		    !(sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40))
sta               871 drivers/net/wireless/realtek/rtlwifi/base.c 		if (!mac->bw_40 || !(sta->ht_cap.ht_supported))
sta               887 drivers/net/wireless/realtek/rtlwifi/base.c 			if (!(sta->vht_cap.vht_supported))
sta               891 drivers/net/wireless/realtek/rtlwifi/base.c 			    !(sta->vht_cap.vht_supported))
sta               902 drivers/net/wireless/realtek/rtlwifi/base.c 				      struct ieee80211_sta *sta)
sta               907 drivers/net/wireless/realtek/rtlwifi/base.c 	u16 tx_mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.tx_mcs_map);
sta               940 drivers/net/wireless/realtek/rtlwifi/base.c 				  struct ieee80211_sta *sta)
sta               947 drivers/net/wireless/realtek/rtlwifi/base.c 	    sta->ht_cap.mcs.rx_mask[1] != 0)
sta              1224 drivers/net/wireless/realtek/rtlwifi/base.c 		      struct ieee80211_sta *sta,
sta              1239 drivers/net/wireless/realtek/rtlwifi/base.c 		(sta ? (struct rtl_sta_info *)sta->drv_priv : NULL);
sta              1274 drivers/net/wireless/realtek/rtlwifi/base.c 			if (sta && sta->vht_cap.vht_supported) {
sta              1276 drivers/net/wireless/realtek/rtlwifi/base.c 				_rtl_get_vht_highest_n_rate(hw, sta);
sta              1278 drivers/net/wireless/realtek/rtlwifi/base.c 				if (sta && sta->ht_cap.ht_supported) {
sta              1280 drivers/net/wireless/realtek/rtlwifi/base.c 						_rtl_get_highest_n_rate(hw, sta);
sta              1298 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_txrate_selectmode(hw, sta, tcb_desc);
sta              1299 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_query_bandwidth_mode(hw, sta, tcb_desc);
sta              1301 drivers/net/wireless/realtek/rtlwifi/base.c 		_rtl_query_shortgi(hw, sta, tcb_desc, info);
sta              1394 drivers/net/wireless/realtek/rtlwifi/base.c 				struct ieee80211_sta *sta = NULL;
sta              1401 drivers/net/wireless/realtek/rtlwifi/base.c 				sta = rtl_find_sta(hw, hdr->addr3);
sta              1402 drivers/net/wireless/realtek/rtlwifi/base.c 				if (sta == NULL) {
sta              1410 drivers/net/wireless/realtek/rtlwifi/base.c 					(struct rtl_sta_info *)sta->drv_priv;
sta              1756 drivers/net/wireless/realtek/rtlwifi/base.c 		     struct ieee80211_sta *sta, u16 tid, u16 *ssn)
sta              1762 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta              1768 drivers/net/wireless/realtek/rtlwifi/base.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1774 drivers/net/wireless/realtek/rtlwifi/base.c 		 "on ra = %pM tid = %d seq:%d\n", sta->addr, tid,
sta              1779 drivers/net/wireless/realtek/rtlwifi/base.c 	ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1784 drivers/net/wireless/realtek/rtlwifi/base.c 		    struct ieee80211_sta *sta, u16 tid)
sta              1789 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta              1793 drivers/net/wireless/realtek/rtlwifi/base.c 		 "on ra = %pM tid = %d\n", sta->addr, tid);
sta              1798 drivers/net/wireless/realtek/rtlwifi/base.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1801 drivers/net/wireless/realtek/rtlwifi/base.c 	ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1806 drivers/net/wireless/realtek/rtlwifi/base.c 		     struct ieee80211_sta *sta, u16 tid)
sta              1813 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta              1827 drivers/net/wireless/realtek/rtlwifi/base.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1833 drivers/net/wireless/realtek/rtlwifi/base.c 		 "on ra = %pM tid = %d\n", sta->addr, tid);
sta              1840 drivers/net/wireless/realtek/rtlwifi/base.c 		    struct ieee80211_sta *sta, u16 tid)
sta              1845 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta              1849 drivers/net/wireless/realtek/rtlwifi/base.c 		 "on ra = %pM tid = %d\n", sta->addr, tid);
sta              1854 drivers/net/wireless/realtek/rtlwifi/base.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1861 drivers/net/wireless/realtek/rtlwifi/base.c 		struct ieee80211_sta *sta, u16 tid)
sta              1866 drivers/net/wireless/realtek/rtlwifi/base.c 	if (sta == NULL)
sta              1870 drivers/net/wireless/realtek/rtlwifi/base.c 		 "on ra = %pM tid = %d\n", sta->addr, tid);
sta              1875 drivers/net/wireless/realtek/rtlwifi/base.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              2466 drivers/net/wireless/realtek/rtlwifi/base.c 			 struct ieee80211_sta *sta,
sta              2481 drivers/net/wireless/realtek/rtlwifi/base.c 	if (!sta)
sta              2495 drivers/net/wireless/realtek/rtlwifi/base.c 	skb = rtl_make_smps_action(hw, smps, sta->addr, bssid);
sta              2500 drivers/net/wireless/realtek/rtlwifi/base.c 			(struct rtl_sta_info *) sta->drv_priv;
sta              2506 drivers/net/wireless/realtek/rtlwifi/base.c 		rtlpriv->intf_ops->adapter_tx(hw, sta, skb, &tcb_desc);
sta               101 drivers/net/wireless/realtek/rtlwifi/base.h 	struct ieee80211_sta *sta, u16 tid, u16 *ssn);
sta               103 drivers/net/wireless/realtek/rtlwifi/base.h 	struct ieee80211_sta *sta, u16 tid);
sta               105 drivers/net/wireless/realtek/rtlwifi/base.h 		    struct ieee80211_sta *sta, u16 tid);
sta               107 drivers/net/wireless/realtek/rtlwifi/base.h 		     struct ieee80211_sta *sta, u16 tid);
sta               109 drivers/net/wireless/realtek/rtlwifi/base.h 		    struct ieee80211_sta *sta, u16 tid);
sta               121 drivers/net/wireless/realtek/rtlwifi/base.h 		      struct ieee80211_sta *sta,
sta               125 drivers/net/wireless/realtek/rtlwifi/base.h 		struct ieee80211_sta *sta,
sta               200 drivers/net/wireless/realtek/rtlwifi/core.c 	if (!rtlpriv->intf_ops->waitq_insert(hw, control->sta, skb))
sta               201 drivers/net/wireless/realtek/rtlwifi/core.c 		rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc);
sta               890 drivers/net/wireless/realtek/rtlwifi/core.c 			 struct ieee80211_sta *sta)
sta               897 drivers/net/wireless/realtek/rtlwifi/core.c 	if (sta) {
sta               898 drivers/net/wireless/realtek/rtlwifi/core.c 		sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta               904 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->supp_rates[0] <= 0xf)
sta               906 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->ht_cap.ht_supported)
sta               913 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->ht_cap.ht_supported)
sta               915 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->vht_cap.vht_supported)
sta               923 drivers/net/wireless/realtek/rtlwifi/core.c 			sta->supp_rates[0] &= 0xfffffff0;
sta               925 drivers/net/wireless/realtek/rtlwifi/core.c 		memcpy(sta_entry->mac_addr, sta->addr, ETH_ALEN);
sta               927 drivers/net/wireless/realtek/rtlwifi/core.c 			"Add sta addr is %pM\n", sta->addr);
sta               928 drivers/net/wireless/realtek/rtlwifi/core.c 		rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0, true);
sta               936 drivers/net/wireless/realtek/rtlwifi/core.c 				struct ieee80211_sta *sta)
sta               941 drivers/net/wireless/realtek/rtlwifi/core.c 	if (sta) {
sta               943 drivers/net/wireless/realtek/rtlwifi/core.c 			 "Remove sta addr is %pM\n", sta->addr);
sta               944 drivers/net/wireless/realtek/rtlwifi/core.c 		sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1077 drivers/net/wireless/realtek/rtlwifi/core.c 			struct ieee80211_sta *sta = NULL;
sta              1100 drivers/net/wireless/realtek/rtlwifi/core.c 			sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
sta              1101 drivers/net/wireless/realtek/rtlwifi/core.c 			if (!sta) {
sta              1108 drivers/net/wireless/realtek/rtlwifi/core.c 				if (sta->ht_cap.ht_supported)
sta              1109 drivers/net/wireless/realtek/rtlwifi/core.c 					rtl_send_smps_action(hw, sta,
sta              1116 drivers/net/wireless/realtek/rtlwifi/core.c 				if (sta->supp_rates[0] <= 0xf)
sta              1122 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->ht_cap.ht_supported) {
sta              1129 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->vht_cap.vht_supported) {
sta              1137 drivers/net/wireless/realtek/rtlwifi/core.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta, 0,
sta              1230 drivers/net/wireless/realtek/rtlwifi/core.c 		struct ieee80211_sta *sta = NULL;
sta              1236 drivers/net/wireless/realtek/rtlwifi/core.c 		sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
sta              1237 drivers/net/wireless/realtek/rtlwifi/core.c 		if (sta) {
sta              1238 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->ht_cap.ampdu_density >
sta              1241 drivers/net/wireless/realtek/rtlwifi/core.c 				    sta->ht_cap.ampdu_density;
sta              1242 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->ht_cap.ampdu_factor <
sta              1245 drivers/net/wireless/realtek/rtlwifi/core.c 				    sta->ht_cap.ampdu_factor;
sta              1259 drivers/net/wireless/realtek/rtlwifi/core.c 		struct ieee80211_sta *sta = NULL;
sta              1271 drivers/net/wireless/realtek/rtlwifi/core.c 		sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid);
sta              1272 drivers/net/wireless/realtek/rtlwifi/core.c 		if (!sta) {
sta              1280 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta->supp_rates[0] <= 0xf)
sta              1286 drivers/net/wireless/realtek/rtlwifi/core.c 		if (sta->ht_cap.ht_supported) {
sta              1293 drivers/net/wireless/realtek/rtlwifi/core.c 		if (sta->vht_cap.vht_supported) {
sta              1305 drivers/net/wireless/realtek/rtlwifi/core.c 			sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1309 drivers/net/wireless/realtek/rtlwifi/core.c 		if (sta->ht_cap.ht_supported) {
sta              1320 drivers/net/wireless/realtek/rtlwifi/core.c 		if (sta->vht_cap.vht_supported)
sta              1327 drivers/net/wireless/realtek/rtlwifi/core.c 				basic_rates = sta->supp_rates[1] << 4;
sta              1329 drivers/net/wireless/realtek/rtlwifi/core.c 				basic_rates = sta->supp_rates[0];
sta              1372 drivers/net/wireless/realtek/rtlwifi/core.c 			      struct ieee80211_sta *sta)
sta              1389 drivers/net/wireless/realtek/rtlwifi/core.c 	struct ieee80211_sta *sta = params->sta;
sta              1398 drivers/net/wireless/realtek/rtlwifi/core.c 		return rtl_tx_agg_start(hw, vif, sta, tid, ssn);
sta              1404 drivers/net/wireless/realtek/rtlwifi/core.c 		return rtl_tx_agg_stop(hw, vif, sta, tid);
sta              1408 drivers/net/wireless/realtek/rtlwifi/core.c 		rtl_tx_agg_oper(hw, sta, tid);
sta              1413 drivers/net/wireless/realtek/rtlwifi/core.c 		return rtl_rx_agg_start(hw, sta, tid);
sta              1417 drivers/net/wireless/realtek/rtlwifi/core.c 		return rtl_rx_agg_stop(hw, sta, tid);
sta              1505 drivers/net/wireless/realtek/rtlwifi/core.c 			  struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              1532 drivers/net/wireless/realtek/rtlwifi/core.c 		  sta ? sta->addr : bcast_addr);
sta              1641 drivers/net/wireless/realtek/rtlwifi/core.c 			if (!sta) {
sta              1656 drivers/net/wireless/realtek/rtlwifi/core.c 			memcpy(mac_addr, sta->addr, ETH_ALEN);
sta              1677 drivers/net/wireless/realtek/rtlwifi/core.c 			if (sta)
sta              1678 drivers/net/wireless/realtek/rtlwifi/core.c 				rtl_cam_del_entry(hw, sta->addr);
sta              1556 drivers/net/wireless/realtek/rtlwifi/pci.c 					struct ieee80211_sta *sta,
sta              1564 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (!sta)
sta              1566 drivers/net/wireless/realtek/rtlwifi/pci.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1595 drivers/net/wireless/realtek/rtlwifi/pci.c 		      struct ieee80211_sta *sta,
sta              1675 drivers/net/wireless/realtek/rtlwifi/pci.c 			(u8 *)ptx_bd_desc, info, sta, skb, hw_queue, ptcb_desc);
sta                16 drivers/net/wireless/realtek/rtlwifi/rc.c 				  struct ieee80211_sta *sta,
sta                49 drivers/net/wireless/realtek/rtlwifi/rc.c 	if (sta) {
sta                50 drivers/net/wireless/realtek/rtlwifi/rc.c 		sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta                69 drivers/net/wireless/realtek/rtlwifi/rc.c 				if (sta->bandwidth == IEEE80211_STA_RX_BW_20) {
sta                91 drivers/net/wireless/realtek/rtlwifi/rc.c 				if (sta->bandwidth == IEEE80211_STA_RX_BW_20) {
sta               112 drivers/net/wireless/realtek/rtlwifi/rc.c 				    struct ieee80211_sta *sta,
sta               123 drivers/net/wireless/realtek/rtlwifi/rc.c 	if (sta) {
sta               124 drivers/net/wireless/realtek/rtlwifi/rc.c 		sgi_20 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20;
sta               125 drivers/net/wireless/realtek/rtlwifi/rc.c 		sgi_40 = sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40;
sta               126 drivers/net/wireless/realtek/rtlwifi/rc.c 		sgi_80 = sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80;
sta               127 drivers/net/wireless/realtek/rtlwifi/rc.c 		sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta               138 drivers/net/wireless/realtek/rtlwifi/rc.c 			if (sta && (sta->ht_cap.cap &
sta               141 drivers/net/wireless/realtek/rtlwifi/rc.c 			if (sta && sta->vht_cap.vht_supported)
sta               152 drivers/net/wireless/realtek/rtlwifi/rc.c 		if (sta && sta->ht_cap.ht_supported &&
sta               156 drivers/net/wireless/realtek/rtlwifi/rc.c 		if (sta && sta->vht_cap.vht_supported &&
sta               164 drivers/net/wireless/realtek/rtlwifi/rc.c static void rtl_get_rate(void *ppriv, struct ieee80211_sta *sta,
sta               176 drivers/net/wireless/realtek/rtlwifi/rc.c 	rix = _rtl_rc_get_highest_rix(rtlpriv, sta, skb, not_data);
sta               178 drivers/net/wireless/realtek/rtlwifi/rc.c 	_rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc,
sta               183 drivers/net/wireless/realtek/rtlwifi/rc.c 			_rtl_rc_rate_set_series(rtlpriv, sta, &rates[i],
sta               210 drivers/net/wireless/realtek/rtlwifi/rc.c 			  struct ieee80211_sta *sta, void *priv_sta,
sta               229 drivers/net/wireless/realtek/rtlwifi/rc.c 	if (sta) {
sta               231 drivers/net/wireless/realtek/rtlwifi/rc.c 		sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta               232 drivers/net/wireless/realtek/rtlwifi/rc.c 		if (sta->ht_cap.ht_supported &&
sta               241 drivers/net/wireless/realtek/rtlwifi/rc.c 					ieee80211_start_tx_ba_session(sta, tid,
sta               252 drivers/net/wireless/realtek/rtlwifi/rc.c 			  struct ieee80211_sta *sta, void *priv_sta)
sta               259 drivers/net/wireless/realtek/rtlwifi/rc.c 			    struct ieee80211_sta *sta, void *priv_sta,
sta               276 drivers/net/wireless/realtek/rtlwifi/rc.c 				struct ieee80211_sta *sta, gfp_t gfp)
sta               291 drivers/net/wireless/realtek/rtlwifi/rc.c 			      struct ieee80211_sta *sta, void *priv_sta)
sta              1144 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 	struct ieee80211_sta *sta = NULL;
sta              1199 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta              1200 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 			if (sta)
sta              1201 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta,
sta              1967 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		struct ieee80211_sta *sta)
sta              1980 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1982 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1988 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              1990 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		ratr_value = sta->supp_rates[0];
sta              1993 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1994 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		       sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2057 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              2066 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
sta              2068 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2070 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2078 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              2085 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		macid = sta->aid + 1;
sta              2088 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              2090 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              2093 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2094 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2188 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              2193 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		rtl88ee_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              2195 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		rtl88ee_update_hal_rate_table(hw, sta);
sta                24 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.h 				 struct ieee80211_sta *sta, u8 rssi_level,
sta               479 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 			  struct ieee80211_sta *sta,
sta               506 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 		if (sta)
sta               507 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 			bw_40 = sta->ht_cap.cap &
sta               511 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               593 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 		if (sta) {
sta               594 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               785 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h 			  struct ieee80211_sta *sta,
sta              1756 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		struct ieee80211_sta *sta)
sta              1768 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1770 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1776 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              1778 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		ratr_value = sta->supp_rates[0];
sta              1782 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1783 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              1847 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              1856 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap &
sta              1858 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap &
sta              1860 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1867 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	sta_entry = (struct rtl_sta_info *) sta->drv_priv;
sta              1874 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		macid = sta->aid + 1;
sta              1877 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              1879 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              1882 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1883 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              1977 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              1982 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		rtl92ce_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              1984 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		rtl92ce_update_hal_rate_table(hw, sta);
sta                37 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.h 				 struct ieee80211_sta *sta, u8 rssi_level,
sta               385 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 			  struct ieee80211_sta *sta,
sta               416 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 	sta = get_sta(hw, mac->vif, mac->bssid);
sta               422 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 		if (sta)
sta               423 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 			bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40;
sta               428 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc);
sta               484 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 		if (sta) {
sta               485 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               515 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h 			  struct ieee80211_sta *sta,
sta              1907 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 					  struct ieee80211_sta *sta)
sta              1920 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1922 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1927 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              1929 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		ratr_value = sta->supp_rates[0];
sta              1933 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1934 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              1995 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 					 struct ieee80211_sta *sta,
sta              2005 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0;
sta              2007 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			      (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2009 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2017 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	sta_entry = (struct rtl_sta_info *) sta->drv_priv;
sta              2024 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		macid = sta->aid + 1;
sta              2027 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              2029 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              2032 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2033 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2142 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 				 struct ieee80211_sta *sta,
sta              2148 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		rtl92cu_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              2150 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		rtl92cu_update_hal_rate_table(hw, sta);
sta                80 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.h 				 struct ieee80211_sta *sta,
sta               470 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 			  struct ieee80211_sta *sta,
sta               491 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc);
sta               541 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	sta = ieee80211_find_sta(mac->vif, mac->bssid);
sta               542 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 	if (sta) {
sta               543 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c 		u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               393 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h 			  struct ieee80211_sta *sta,
sta              1792 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 					  struct ieee80211_sta *sta)
sta              1805 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1807 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1812 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              1814 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		ratr_value = sta->supp_rates[0];
sta              1815 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1816 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		       sta->ht_cap.mcs.rx_mask[0] << 12);
sta              1874 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              1883 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0;
sta              1884 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1886 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1894 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	sta_entry = (struct rtl_sta_info *) sta->drv_priv;
sta              1901 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		macid = sta->aid + 1;
sta              1904 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              1906 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              1907 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1908 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2010 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              2015 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		rtl92de_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              2017 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		rtl92de_update_hal_rate_table(hw, sta);
sta                24 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.h 				 struct ieee80211_sta *sta, u8 rssi_level,
sta               508 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 			  struct ieee80211_sta *sta,
sta               534 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		if (sta)
sta               535 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 			bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40;
sta               538 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               621 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 		if (sta) {
sta               622 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               707 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h 			  struct ieee80211_sta *sta,
sta               990 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 	struct ieee80211_sta *sta = NULL;
sta              1017 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta              1018 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 			if (sta)
sta              1019 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta,
sta              2250 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 					 struct ieee80211_sta *sta,
sta              2259 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
sta              2261 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u8 b_curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2263 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	u8 b_curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2270 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              2277 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		macid = sta->aid + 1;
sta              2279 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	ratr_bitmap = sta->supp_rates[0];
sta              2283 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2284 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2385 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				 struct ieee80211_sta *sta, u8 rssi_level,
sta              2391 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		rtl92ee_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta                24 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.h 				 struct ieee80211_sta *sta, u8 rssi_level,
sta               643 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			  struct ieee80211_sta *sta,
sta               669 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 		if (sta)
sta               670 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			bw_40 = sta->ht_cap.cap &
sta               674 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               769 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 		if (sta) {
sta               770 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               731 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h 			  struct ieee80211_sta *sta,
sta               207 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 	struct ieee80211_sta *sta = NULL;
sta               273 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta               274 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 			if (sta)
sta               275 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta,
sta              2008 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 					  struct ieee80211_sta *sta)
sta              2021 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2023 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2028 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              2030 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		ratr_value = sta->supp_rates[0];
sta              2033 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2034 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2109 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 					 struct ieee80211_sta *sta,
sta              2119 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	u8 curtxbw_40mhz = (sta->bandwidth >= IEEE80211_STA_RX_BW_40) ? 1 : 0;
sta              2120 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2122 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2134 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	sta_entry = (struct rtl_sta_info *) sta->drv_priv;
sta              2140 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		macid = sta->aid + 1;
sta              2143 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              2145 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              2148 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2149 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2269 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              2274 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		rtl92se_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              2276 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		rtl92se_update_hal_rate_table(hw, sta);
sta                41 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.h 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw);
sta               315 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		struct ieee80211_sta *sta,
sta               344 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		if (sta)
sta               345 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			bw_40 = sta->bandwidth >= IEEE80211_STA_RX_BW_40;
sta               350 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta                10 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.h 			  struct ieee80211_sta *sta,
sta               673 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 	struct ieee80211_sta *sta = NULL;
sta               737 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta               738 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 			if (sta)
sta               739 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta,
sta              1833 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 					   struct ieee80211_sta *sta)
sta              1845 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1847 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1853 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              1855 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		ratr_value = sta->supp_rates[0];
sta              1858 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1859 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              1922 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 					  struct ieee80211_sta *sta,
sta              1932 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
sta              1934 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              1936 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              1944 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              1950 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		macid = sta->aid + 1;
sta              1953 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		ratr_bitmap = sta->supp_rates[1] << 4;
sta              1955 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		ratr_bitmap = sta->supp_rates[0];
sta              1958 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              1959 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2054 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 				  struct ieee80211_sta *sta, u8 rssi_level,
sta              2060 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		rtl8723e_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              2062 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		rtl8723e_update_hal_rate_table(hw, sta);
sta                30 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.h 				  struct ieee80211_sta *sta, u8 rssi_level,
sta               344 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 			   struct ieee80211_sta *sta,
sta               379 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 		if (sta)
sta               380 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 			bw_40 = sta->ht_cap.cap &
sta               386 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               445 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 		if (sta) {
sta               446 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               518 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h 			   struct ieee80211_sta *sta,
sta               914 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 	struct ieee80211_sta *sta = NULL;
sta               962 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta               963 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 			if (sta)
sta               964 drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c 				rtlpriv->cfg->ops->update_rate_tbl(hw, sta,
sta              2310 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 					   struct ieee80211_sta *sta,
sta              2319 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap &
sta              2321 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              2323 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	u8 curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              2330 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              2337 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		macid = sta->aid + 1;
sta              2339 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	ratr_bitmap = sta->supp_rates[0];
sta              2344 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              2345 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              2446 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				   struct ieee80211_sta *sta,
sta              2451 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		rtl8723be_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta                26 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.h 				   struct ieee80211_sta *sta,
sta               407 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 			    struct ieee80211_sta *sta, struct sk_buff *skb,
sta               433 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 		if (sta)
sta               434 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 			bw_40 = sta->ht_cap.cap &
sta               438 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               520 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 		if (sta) {
sta               521 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               631 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h 			    struct ieee80211_sta *sta, struct sk_buff *skb,
sta              2521 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 	struct ieee80211_sta *sta = NULL;
sta              2569 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			sta = rtl_find_sta(hw, mac->bssid);
sta              2570 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 			if (sta)
sta              2572 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c 						sta, p_ra->ratr_state, true);
sta              3291 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		struct ieee80211_sta *sta)
sta              3304 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 b_curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              3306 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 b_curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              3311 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		ratr_value = sta->supp_rates[1] << 4;
sta              3313 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		ratr_value = sta->supp_rates[0];
sta              3316 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	ratr_value |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              3317 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 			sta->ht_cap.mcs.rx_mask[0] << 12);
sta              3484 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c static bool _rtl8821ae_get_ra_shortgi(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta              3488 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 b_curshortgi_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40) ?
sta              3490 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 b_curshortgi_20mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ?
sta              3493 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	b_curshortgi_80mhz = (sta->vht_cap.cap &
sta              3507 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              3516 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	u8 curtxbw_40mhz = (sta->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40)
sta              3524 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	sta_entry = (struct rtl_sta_info *)sta->drv_priv;
sta              3534 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		macid = sta->aid + 1;
sta              3538 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		ratr_bitmap = sta->supp_rates[NL80211_BAND_5GHZ] << 4;
sta              3540 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		ratr_bitmap = sta->supp_rates[NL80211_BAND_2GHZ];
sta              3547 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		ratr_bitmap |= (sta->ht_cap.mcs.rx_mask[1] << 20 |
sta              3548 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				sta->ht_cap.mcs.rx_mask[0] << 12);
sta              3553 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				sta->vht_cap.vht_mcs.rx_mcs_map) << 12;
sta              3555 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	b_shortgi = _rtl8821ae_get_ra_shortgi(hw, sta, macid);
sta              3707 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		struct ieee80211_sta *sta, u8 rssi_level, bool update_bw)
sta              3711 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		rtl8821ae_update_hal_rate_mask(hw, sta, rssi_level, update_bw);
sta              3715 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		rtl8821ae_update_hal_rate_table(hw, sta);
sta                26 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.h 				   struct ieee80211_sta *sta,
sta               662 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 			    struct ieee80211_sta *sta,
sta               686 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 	rtl_get_tcb_desc(hw, info, sta, skb, ptcb_desc);
sta               760 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 		if (sta) {
sta               761 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 			u8 ampdu_density = sta->ht_cap.ampdu_density;
sta               636 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h 			    struct ieee80211_sta *sta,
sta               155 drivers/net/wireless/realtek/rtlwifi/stats.c 	struct ieee80211_sta *sta = NULL;
sta               160 drivers/net/wireless/realtek/rtlwifi/stats.c 		sta = rtl_find_sta(hw, pstatus->psaddr);
sta               163 drivers/net/wireless/realtek/rtlwifi/stats.c 	if (sta) {
sta               164 drivers/net/wireless/realtek/rtlwifi/stats.c 		drv_priv = (struct rtl_sta_info *) sta->drv_priv;
sta               183 drivers/net/wireless/realtek/rtlwifi/stats.c 	if (sta) {
sta               921 drivers/net/wireless/realtek/rtlwifi/usb.c 				   struct ieee80211_sta *sta,
sta               951 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->cfg->ops->fill_tx_desc(hw, hdr, (u8 *)pdesc, NULL, info, sta, skb,
sta               958 drivers/net/wireless/realtek/rtlwifi/usb.c 		      struct ieee80211_sta *sta,
sta               971 drivers/net/wireless/realtek/rtlwifi/usb.c 	_rtl_usb_tx_preprocess(hw, sta, skb, hw_queue);
sta               981 drivers/net/wireless/realtek/rtlwifi/usb.c 					struct ieee80211_sta *sta,
sta              2246 drivers/net/wireless/realtek/rtlwifi/wifi.h 				struct ieee80211_sta *sta, u8 rssi_leve,
sta              2260 drivers/net/wireless/realtek/rtlwifi/wifi.h 			     struct ieee80211_sta *sta,
sta              2345 drivers/net/wireless/realtek/rtlwifi/wifi.h 			  struct ieee80211_sta *sta,
sta              2351 drivers/net/wireless/realtek/rtlwifi/wifi.h 			     struct ieee80211_sta *sta,
sta               310 drivers/net/wireless/realtek/rtw88/mac80211.c 			   struct ieee80211_sta *sta)
sta               313 drivers/net/wireless/realtek/rtw88/mac80211.c 	struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv;
sta               324 drivers/net/wireless/realtek/rtw88/mac80211.c 	si->sta = sta;
sta               335 drivers/net/wireless/realtek/rtw88/mac80211.c 		 sta->addr, si->mac_id);
sta               344 drivers/net/wireless/realtek/rtw88/mac80211.c 			      struct ieee80211_sta *sta)
sta               347 drivers/net/wireless/realtek/rtw88/mac80211.c 	struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv;
sta               357 drivers/net/wireless/realtek/rtw88/mac80211.c 		 sta->addr, si->mac_id);
sta               364 drivers/net/wireless/realtek/rtw88/mac80211.c 			   struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               417 drivers/net/wireless/realtek/rtw88/mac80211.c 		rtw_sec_write_cam(rtwdev, sec, sta, key,
sta               435 drivers/net/wireless/realtek/rtw88/mac80211.c 	struct ieee80211_sta *sta = params->sta;
sta               440 drivers/net/wireless/realtek/rtw88/mac80211.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               445 drivers/net/wireless/realtek/rtw88/mac80211.c 		ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta               403 drivers/net/wireless/realtek/rtw88/main.c static u64 get_vht_ra_mask(struct ieee80211_sta *sta)
sta               406 drivers/net/wireless/realtek/rtw88/main.c 	u16 mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.rx_mcs_map);
sta               534 drivers/net/wireless/realtek/rtw88/main.c 	struct ieee80211_sta *sta = si->sta;
sta               549 drivers/net/wireless/realtek/rtw88/main.c 	if (sta->vht_cap.vht_supported) {
sta               551 drivers/net/wireless/realtek/rtw88/main.c 		ra_mask |= get_vht_ra_mask(sta);
sta               552 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK)
sta               554 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC)
sta               556 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80)
sta               558 drivers/net/wireless/realtek/rtw88/main.c 	} else if (sta->ht_cap.ht_supported) {
sta               559 drivers/net/wireless/realtek/rtw88/main.c 		ra_mask |= (sta->ht_cap.mcs.rx_mask[1] << 20) |
sta               560 drivers/net/wireless/realtek/rtw88/main.c 			   (sta->ht_cap.mcs.rx_mask[0] << 12);
sta               561 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->ht_cap.cap & IEEE80211_HT_CAP_RX_STBC)
sta               563 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)
sta               565 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20 ||
sta               566 drivers/net/wireless/realtek/rtw88/main.c 		    sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40)
sta               574 drivers/net/wireless/realtek/rtw88/main.c 		ra_mask |= (u64)sta->supp_rates[NL80211_BAND_5GHZ] << 4;
sta               575 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->vht_cap.vht_supported) {
sta               578 drivers/net/wireless/realtek/rtw88/main.c 		} else if (sta->ht_cap.ht_supported) {
sta               585 drivers/net/wireless/realtek/rtw88/main.c 		ra_mask |= sta->supp_rates[NL80211_BAND_2GHZ];
sta               586 drivers/net/wireless/realtek/rtw88/main.c 		if (sta->vht_cap.vht_supported) {
sta               591 drivers/net/wireless/realtek/rtw88/main.c 		} else if (sta->ht_cap.ht_supported) {
sta               596 drivers/net/wireless/realtek/rtw88/main.c 		} else if (sta->supp_rates[0] <= 0xf) {
sta               606 drivers/net/wireless/realtek/rtw88/main.c 	switch (sta->bandwidth) {
sta               618 drivers/net/wireless/realtek/rtw88/main.c 	if (sta->vht_cap.vht_supported && ra_mask & 0xffc00000) {
sta               621 drivers/net/wireless/realtek/rtw88/main.c 	} else if (sta->ht_cap.ht_supported && ra_mask & 0xfff00000) {
sta               583 drivers/net/wireless/realtek/rtw88/main.h 	struct ieee80211_sta *sta;
sta               197 drivers/net/wireless/realtek/rtw88/phy.c static void rtw_phy_stat_rssi_iter(void *data, struct ieee80211_sta *sta)
sta               201 drivers/net/wireless/realtek/rtw88/phy.c 	struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv;
sta               440 drivers/net/wireless/realtek/rtw88/phy.c static void rtw_phy_ra_info_update_iter(void *data, struct ieee80211_sta *sta)
sta               443 drivers/net/wireless/realtek/rtw88/phy.c 	struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv;
sta                46 drivers/net/wireless/realtek/rtw88/rx.c 	struct ieee80211_sta *sta;
sta                56 drivers/net/wireless/realtek/rtw88/rx.c 		sta = ieee80211_find_sta_by_ifaddr(rtwdev->hw, hdr->addr2,
sta                61 drivers/net/wireless/realtek/rtw88/rx.c 	if (!sta)
sta                64 drivers/net/wireless/realtek/rtw88/rx.c 	si = (struct rtw_sta_info *)sta->drv_priv;
sta                24 drivers/net/wireless/realtek/rtw88/sec.c 		       struct ieee80211_sta *sta,
sta                40 drivers/net/wireless/realtek/rtw88/sec.c 	if (sta)
sta                41 drivers/net/wireless/realtek/rtw88/sec.c 		ether_addr_copy(cam->addr, sta->addr);
sta                31 drivers/net/wireless/realtek/rtw88/sec.h 		       struct ieee80211_sta *sta,
sta                64 drivers/net/wireless/realtek/rtw88/tx.c static u8 get_tx_ampdu_factor(struct ieee80211_sta *sta)
sta                66 drivers/net/wireless/realtek/rtw88/tx.c 	u8 exp = sta->ht_cap.ampdu_factor;
sta                75 drivers/net/wireless/realtek/rtw88/tx.c static u8 get_tx_ampdu_density(struct ieee80211_sta *sta)
sta                77 drivers/net/wireless/realtek/rtw88/tx.c 	return sta->ht_cap.ampdu_density;
sta                81 drivers/net/wireless/realtek/rtw88/tx.c 				 struct ieee80211_sta *sta)
sta                85 drivers/net/wireless/realtek/rtw88/tx.c 	if (rtwdev->hal.rf_type == RF_2T2R && sta->ht_cap.mcs.rx_mask[1] != 0)
sta                94 drivers/net/wireless/realtek/rtw88/tx.c 				  struct ieee80211_sta *sta)
sta               100 drivers/net/wireless/realtek/rtw88/tx.c 	tx_mcs_map = le16_to_cpu(sta->vht_cap.vht_mcs.tx_mcs_map);
sta               237 drivers/net/wireless/realtek/rtw88/tx.c 	struct ieee80211_sta *sta = control->sta;
sta               254 drivers/net/wireless/realtek/rtw88/tx.c 	if (!sta)
sta               259 drivers/net/wireless/realtek/rtw88/tx.c 		ampdu_factor = get_tx_ampdu_factor(sta);
sta               260 drivers/net/wireless/realtek/rtw88/tx.c 		ampdu_density = get_tx_ampdu_density(sta);
sta               263 drivers/net/wireless/realtek/rtw88/tx.c 	if (sta->vht_cap.vht_supported)
sta               264 drivers/net/wireless/realtek/rtw88/tx.c 		rate = get_highest_vht_tx_rate(rtwdev, sta);
sta               265 drivers/net/wireless/realtek/rtw88/tx.c 	else if (sta->ht_cap.ht_supported)
sta               266 drivers/net/wireless/realtek/rtw88/tx.c 		rate = get_highest_ht_tx_rate(rtwdev, sta);
sta               267 drivers/net/wireless/realtek/rtw88/tx.c 	else if (sta->supp_rates[0] <= 0xf)
sta               272 drivers/net/wireless/realtek/rtw88/tx.c 	si = (struct rtw_sta_info *)sta->drv_priv;
sta               305 drivers/net/wireless/realtek/rtw88/tx.c 	if (control->sta) {
sta               306 drivers/net/wireless/realtek/rtw88/tx.c 		si = (struct rtw_sta_info *)control->sta->drv_priv;
sta               344 drivers/net/wireless/rsi/rsi_91x_core.c 		if (!common->stations[i].sta)
sta               346 drivers/net/wireless/rsi/rsi_91x_core.c 		if (!(memcmp(common->stations[i].sta->addr,
sta               463 drivers/net/wireless/rsi/rsi_91x_core.c 				ieee80211_start_tx_ba_session(rsta->sta,
sta               515 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			common->stations[i].sta = NULL;
sta               945 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			      struct ieee80211_sta *sta)
sta               963 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		if (sta) {
sta               964 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			rsta = rsi_find_sta(adapter->priv, sta->addr);
sta              1019 drivers/net/wireless/rsi/rsi_91x_mac80211.c 				struct ieee80211_sta *sta,
sta              1031 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		status = rsi_hal_key_config(hw, vif, key, sta);
sta              1053 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		status = rsi_hal_key_config(hw, vif, key, sta);
sta              1085 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	struct ieee80211_sta *sta = params->sta;
sta              1104 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		rsta = rsi_find_sta(common, sta->addr);
sta              1143 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1157 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
sta              1367 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			     struct ieee80211_sta *sta,
sta              1375 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	common->bitrate_mask[band] = sta->supp_rates[band];
sta              1377 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	rate_bitmap = (common->fixedrate_mask[band] & sta->supp_rates[band]);
sta              1390 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	common->vif_info[0].is_ht = sta->ht_cap.ht_supported;
sta              1417 drivers/net/wireless/rsi/rsi_91x_mac80211.c 				struct ieee80211_sta *sta)
sta              1425 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	rsi_dbg(INFO_ZONE, "Station Add: %pM\n", sta->addr);
sta              1444 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			if (!rsta->sta) {
sta              1449 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			if (!memcmp(rsta->sta->addr, sta->addr, ETH_ALEN)) {
sta              1468 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		rsta->sta = sta;
sta              1480 drivers/net/wireless/rsi/rsi_91x_mac80211.c 					      sta->addr, sta->wme, sta->aid,
sta              1481 drivers/net/wireless/rsi/rsi_91x_mac80211.c 					      sta, sta_idx, 0, vif);
sta              1504 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		rsi_set_min_rate(hw, sta, common);
sta              1505 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		if (sta->ht_cap.ht_supported) {
sta              1508 drivers/net/wireless/rsi/rsi_91x_mac80211.c 					sta->supp_rates[NL80211_BAND_2GHZ];
sta              1509 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			if ((sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ||
sta              1510 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			    (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40))
sta              1512 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			ieee80211_start_tx_ba_session(sta, 0, 0);
sta              1533 drivers/net/wireless/rsi/rsi_91x_mac80211.c 				   struct ieee80211_sta *sta)
sta              1540 drivers/net/wireless/rsi/rsi_91x_mac80211.c 	rsi_dbg(INFO_ZONE, "Station Remove: %pM\n", sta->addr);
sta              1553 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			if (!rsta->sta)
sta              1555 drivers/net/wireless/rsi/rsi_91x_mac80211.c 			if (!memcmp(rsta->sta->addr, sta->addr, ETH_ALEN)) {
sta              1557 drivers/net/wireless/rsi/rsi_91x_mac80211.c 						      sta->addr, sta->wme,
sta              1558 drivers/net/wireless/rsi/rsi_91x_mac80211.c 						      sta->aid, sta, sta_idx,
sta              1560 drivers/net/wireless/rsi/rsi_91x_mac80211.c 				rsta->sta = NULL;
sta              1576 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		memcpy((u8 *)bss->bssid, (u8 *)sta->addr, ETH_ALEN);
sta              1577 drivers/net/wireless/rsi/rsi_91x_mac80211.c 		bss->qos = sta->wme;
sta              1296 drivers/net/wireless/rsi/rsi_91x_mgmt.c 				      struct ieee80211_sta *sta,
sta              1350 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		rate_bitmap = sta->supp_rates[band];
sta              1351 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		is_ht = sta->ht_cap.ht_supported;
sta              1352 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		if ((sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_20) ||
sta              1353 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		    (sta->ht_cap.cap & IEEE80211_HT_CAP_SGI_40))
sta              1455 drivers/net/wireless/rsi/rsi_91x_mgmt.c 			   struct ieee80211_sta *sta,
sta              1471 drivers/net/wireless/rsi/rsi_91x_mgmt.c 			rsi_send_auto_rate_request(common, sta, sta_id, vif);
sta                26 drivers/net/wireless/rsi/rsi_main.h 	struct ieee80211_sta *sta;
sta               733 drivers/net/wireless/rsi/rsi_mgmt.h 			   struct ieee80211_sta *sta, u16 sta_id,
sta               681 drivers/net/wireless/st/cw1200/sta.c 		   struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               702 drivers/net/wireless/st/cw1200/sta.c 		if (sta)
sta               703 drivers/net/wireless/st/cw1200/sta.c 			peer_addr = sta->addr;
sta              1540 drivers/net/wireless/st/cw1200/sta.c 		   struct ieee80211_sta *sta)
sta              1544 drivers/net/wireless/st/cw1200/sta.c 			(struct cw1200_sta_priv *)&sta->drv_priv;
sta              1551 drivers/net/wireless/st/cw1200/sta.c 	sta_priv->link_id = cw1200_find_link_id(priv, sta->addr);
sta              1560 drivers/net/wireless/st/cw1200/sta.c 	if ((sta->uapsd_queues & IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK) ==
sta              1571 drivers/net/wireless/st/cw1200/sta.c 		      struct ieee80211_sta *sta)
sta              1575 drivers/net/wireless/st/cw1200/sta.c 			(struct cw1200_sta_priv *)&sta->drv_priv;
sta              1637 drivers/net/wireless/st/cw1200/sta.c 		       struct ieee80211_sta *sta)
sta              1641 drivers/net/wireless/st/cw1200/sta.c 		(struct cw1200_sta_priv *)&sta->drv_priv;
sta              1710 drivers/net/wireless/st/cw1200/sta.c int cw1200_set_tim(struct ieee80211_hw *dev, struct ieee80211_sta *sta,
sta              1898 drivers/net/wireless/st/cw1200/sta.c 			struct ieee80211_sta *sta = NULL;
sta              1908 drivers/net/wireless/st/cw1200/sta.c 				sta = ieee80211_find_sta(vif, info->bssid);
sta              1909 drivers/net/wireless/st/cw1200/sta.c 			if (sta) {
sta              1910 drivers/net/wireless/st/cw1200/sta.c 				priv->ht_info.ht_cap = sta->ht_cap;
sta              1913 drivers/net/wireless/st/cw1200/sta.c 								sta->supp_rates[priv->channel->band]);
sta                35 drivers/net/wireless/st/cw1200/sta.h 		   struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta                94 drivers/net/wireless/st/cw1200/sta.h int cw1200_set_tim(struct ieee80211_hw *dev, struct ieee80211_sta *sta,
sta                97 drivers/net/wireless/st/cw1200/sta.h 		   struct ieee80211_sta *sta);
sta                99 drivers/net/wireless/st/cw1200/sta.h 		      struct ieee80211_sta *sta);
sta               102 drivers/net/wireless/st/cw1200/sta.h 		       struct ieee80211_sta *sta);
sta               409 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_sta *sta;
sta               440 drivers/net/wireless/st/cw1200/txrx.c 	if (t->sta && t->sta_priv->link_id)
sta               469 drivers/net/wireless/st/cw1200/txrx.c 	if (t->sta && (t->sta->uapsd_queues & BIT(t->queue)))
sta               716 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_sta *sta;
sta               728 drivers/net/wireless/st/cw1200/txrx.c 		t.sta = control->sta;
sta               729 drivers/net/wireless/st/cw1200/txrx.c 		t.sta_priv = (struct cw1200_sta_priv *)&t.sta->drv_priv;
sta               766 drivers/net/wireless/st/cw1200/txrx.c 	sta = rcu_dereference(t.sta);
sta               776 drivers/net/wireless/st/cw1200/txrx.c 	if (tid_update && sta)
sta               777 drivers/net/wireless/st/cw1200/txrx.c 		ieee80211_sta_set_buffered(sta, t.txpriv.tid, true);
sta               807 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_sta *sta;
sta               820 drivers/net/wireless/st/cw1200/txrx.c 	sta = ieee80211_find_sta(priv->vif, pspoll->ta);
sta               821 drivers/net/wireless/st/cw1200/txrx.c 	if (sta) {
sta               823 drivers/net/wireless/st/cw1200/txrx.c 		sta_priv = (struct cw1200_sta_priv *)&sta->drv_priv;
sta               965 drivers/net/wireless/st/cw1200/txrx.c 	struct ieee80211_sta *sta;
sta               982 drivers/net/wireless/st/cw1200/txrx.c 			sta = ieee80211_find_sta(priv->vif, hdr->addr1);
sta               983 drivers/net/wireless/st/cw1200/txrx.c 			if (sta)
sta               984 drivers/net/wireless/st/cw1200/txrx.c 				ieee80211_sta_set_buffered(sta, tid, false);
sta               868 drivers/net/wireless/ti/wl1251/main.c 			     struct ieee80211_sta *sta,
sta               887 drivers/net/wireless/ti/wl1251/main.c 	addr = sta ? sta->addr : bcast_addr;
sta              1638 drivers/net/wireless/ti/wl12xx/main.c 			  struct ieee80211_sta *sta,
sta              1641 drivers/net/wireless/ti/wl12xx/main.c 	return wlcore_set_key(wl, cmd, vif, sta, key_conf);
sta               210 drivers/net/wireless/ti/wl18xx/event.c 		struct ieee80211_sta *sta;
sta               226 drivers/net/wireless/ti/wl18xx/event.c 		sta = ieee80211_find_sta(vif, addr);
sta               227 drivers/net/wireless/ti/wl18xx/event.c 		if (sta) {
sta               228 drivers/net/wireless/ti/wl18xx/event.c 			sta->max_rx_aggregation_subframes = win_size;
sta              1543 drivers/net/wireless/ti/wl18xx/main.c 			  struct ieee80211_sta *sta,
sta              1556 drivers/net/wireless/ti/wl18xx/main.c 	ret = wlcore_set_key(wl, cmd, vif, sta, key_conf);
sta              1632 drivers/net/wireless/ti/wl18xx/main.c 	if (wlvif->sta.role_chan_type == NL80211_CHAN_HT40MINUS ||
sta              1633 drivers/net/wireless/ti/wl18xx/main.c 	    wlvif->sta.role_chan_type == NL80211_CHAN_HT40PLUS)
sta              1634 drivers/net/wireless/ti/wl18xx/main.c 		wl18xx_acx_peer_ht_operation_mode(wl, wlvif->sta.hlid, wide);
sta               741 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.basic_rate_idx);
sta               754 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.ap_rate_idx);
sta               774 drivers/net/wireless/ti/wlcore/acx.c 	acx->rate_policy_idx = cpu_to_le32(wlvif->sta.p2p_rate_idx);
sta               526 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.basic_rate_set = cpu_to_le32(wlvif->basic_rate_set);
sta               527 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.beacon_interval = cpu_to_le16(wlvif->beacon_int);
sta               528 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.ssid_type = WL12XX_SSID_TYPE_ANY;
sta               529 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.ssid_len = wlvif->ssid_len;
sta               530 drivers/net/wireless/ti/wlcore/cmd.c 	memcpy(cmd->sta.ssid, wlvif->ssid, wlvif->ssid_len);
sta               531 drivers/net/wireless/ti/wlcore/cmd.c 	memcpy(cmd->sta.bssid, vif->bss_conf.bssid, ETH_ALEN);
sta               538 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.local_rates = cpu_to_le32(supported_rates);
sta               542 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID) {
sta               543 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_allocate_link(wl, wlvif, &wlvif->sta.hlid);
sta               547 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.hlid = wlvif->sta.hlid;
sta               548 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.session = wl->session_ids[wlvif->sta.hlid];
sta               555 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.remote_rates = cpu_to_le32(supported_rates);
sta               559 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->role_id, cmd->sta.hlid, cmd->sta.session,
sta               568 drivers/net/wireless/ti/wlcore/cmd.c 	wlvif->sta.role_chan_type = wlvif->channel_type;
sta               573 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
sta               588 drivers/net/wireless/ti/wlcore/cmd.c 	if (WARN_ON(wlvif->sta.hlid == WL12XX_INVALID_LINK_ID))
sta               609 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
sta               785 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sta.local_rates = cpu_to_le32(wlvif->rate_set);
sta               787 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID) {
sta               788 drivers/net/wireless/ti/wlcore/cmd.c 		ret = wl12xx_allocate_link(wl, wlvif, &wlvif->sta.hlid);
sta               792 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->ibss.hlid = wlvif->sta.hlid;
sta               797 drivers/net/wireless/ti/wlcore/cmd.c 		     wlvif->role_id, cmd->sta.hlid, cmd->sta.session,
sta               813 drivers/net/wireless/ti/wlcore/cmd.c 	wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid);
sta              1102 drivers/net/wireless/ti/wlcore/cmd.c 				      wlvif->sta.klv_template_id,
sta              1278 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.qos)
sta              1285 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.qos)
sta              1369 drivers/net/wireless/ti/wlcore/cmd.c 	if (wlvif->sta.hlid == WL12XX_INVALID_LINK_ID)
sta              1378 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->hlid = wlvif->sta.hlid;
sta              1526 drivers/net/wireless/ti/wlcore/cmd.c 			struct ieee80211_sta *sta, u8 hlid)
sta              1540 drivers/net/wireless/ti/wlcore/cmd.c 	memcpy(cmd->addr, sta->addr, ETH_ALEN);
sta              1542 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->aid = sta->aid;
sta              1544 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->sp_len = sta->max_sp;
sta              1545 drivers/net/wireless/ti/wlcore/cmd.c 	cmd->wmm = sta->wme ? 1 : 0;
sta              1550 drivers/net/wireless/ti/wlcore/cmd.c 		if (sta->wme && (sta->uapsd_queues & BIT(i)))
sta              1558 drivers/net/wireless/ti/wlcore/cmd.c 	sta_rates = sta->supp_rates[wlvif->band];
sta              1559 drivers/net/wireless/ti/wlcore/cmd.c 	if (sta->ht_cap.ht_supported)
sta              1561 drivers/net/wireless/ti/wlcore/cmd.c 			(sta->ht_cap.mcs.rx_mask[0] << HW_HT_RATES_OFFSET) |
sta              1562 drivers/net/wireless/ti/wlcore/cmd.c 			(sta->ht_cap.mcs.rx_mask[1] << HW_MIMO_RATES_OFFSET);
sta              1576 drivers/net/wireless/ti/wlcore/cmd.c 		     cmd->supported_rates, sta->uapsd_queues);
sta                75 drivers/net/wireless/ti/wlcore/cmd.h 			struct ieee80211_sta *sta, u8 hlid);
sta               324 drivers/net/wireless/ti/wlcore/cmd.h 		} __packed sta;
sta               578 drivers/net/wireless/ti/wlcore/debugfs.c 			VIF_STATE_PRINT_INT(sta.hlid);
sta               579 drivers/net/wireless/ti/wlcore/debugfs.c 			VIF_STATE_PRINT_INT(sta.basic_rate_idx);
sta               580 drivers/net/wireless/ti/wlcore/debugfs.c 			VIF_STATE_PRINT_INT(sta.ap_rate_idx);
sta               581 drivers/net/wireless/ti/wlcore/debugfs.c 			VIF_STATE_PRINT_INT(sta.p2p_rate_idx);
sta               582 drivers/net/wireless/ti/wlcore/debugfs.c 			VIF_STATE_PRINT_INT(sta.qos);
sta               130 drivers/net/wireless/ti/wlcore/event.c 		u8 hlid = wlvif->sta.hlid;
sta               250 drivers/net/wireless/ti/wlcore/event.c 	struct ieee80211_sta *sta;
sta               270 drivers/net/wireless/ti/wlcore/event.c 		sta = ieee80211_find_sta(vif, addr);
sta               271 drivers/net/wireless/ti/wlcore/event.c 		if (sta) {
sta               273 drivers/net/wireless/ti/wlcore/event.c 			ieee80211_report_low_ack(sta, num_packets);
sta               181 drivers/net/wireless/ti/wlcore/hw_ops.h 		  struct ieee80211_sta *sta,
sta               187 drivers/net/wireless/ti/wlcore/hw_ops.h 	return wl->ops->set_key(wl, cmd, vif, sta, key_conf);
sta                60 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid);
sta               235 drivers/net/wireless/ti/wlcore/main.c 						     true, wlvif->sta.hlid);
sta               852 drivers/net/wireless/ti/wlcore/main.c 				   u8 hlid, struct ieee80211_sta *sta)
sta               857 drivers/net/wireless/ti/wlcore/main.c 	wl_sta = (void *)sta->drv_priv;
sta               875 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_sta *sta;
sta               883 drivers/net/wireless/ti/wlcore/main.c 	sta = ieee80211_find_sta(vif, addr);
sta               884 drivers/net/wireless/ti/wlcore/main.c 	if (sta)
sta               885 drivers/net/wireless/ti/wlcore/main.c 		wlcore_save_freed_pkts(wl, wlvif, hlid, sta);
sta               965 drivers/net/wireless/ti/wlcore/main.c 			wlcore_save_freed_pkts_addr(wl, wlvif, wlvif->sta.hlid,
sta              1224 drivers/net/wireless/ti/wlcore/main.c 	hlid = wl12xx_tx_get_hlid(wl, wlvif, skb, control->sta);
sta              2251 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.hlid = WL12XX_INVALID_LINK_ID;
sta              2252 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.basic_rate_idx);
sta              2253 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.ap_rate_idx);
sta              2254 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_allocate_rate_policy(wl, &wlvif->sta.p2p_rate_idx);
sta              2255 drivers/net/wireless/ti/wlcore/main.c 		wlcore_allocate_klv_template(wl, &wlvif->sta.klv_template_id);
sta              2721 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.hlid = WL12XX_INVALID_LINK_ID;
sta              2722 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.basic_rate_idx);
sta              2723 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.ap_rate_idx);
sta              2724 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_free_rate_policy(wl, &wlvif->sta.p2p_rate_idx);
sta              2725 drivers/net/wireless/ti/wlcore/main.c 		wlcore_free_klv_template(wl, &wlvif->sta.klv_template_id);
sta              2988 drivers/net/wireless/ti/wlcore/main.c 					   wlvif->sta.klv_template_id,
sta              3017 drivers/net/wireless/ti/wlcore/main.c 	bool sta = wlvif->bss_type == BSS_TYPE_STA_BSS;
sta              3020 drivers/net/wireless/ti/wlcore/main.c 	if (sta &&
sta              3025 drivers/net/wireless/ti/wlcore/main.c 	if (!sta &&
sta              3029 drivers/net/wireless/ti/wlcore/main.c 	if (sta) {
sta              3063 drivers/net/wireless/ti/wlcore/main.c 				     wlvif->sta.klv_template_id,
sta              3373 drivers/net/wireless/ti/wlcore/main.c 		       u16 tx_seq_16, struct ieee80211_sta *sta)
sta              3382 drivers/net/wireless/ti/wlcore/main.c 		if (sta) {
sta              3383 drivers/net/wireless/ti/wlcore/main.c 			wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              3416 drivers/net/wireless/ti/wlcore/main.c 		addr = sta ? sta->addr : bcast_addr;
sta              3432 drivers/net/wireless/ti/wlcore/main.c 		    wlvif->sta.hlid == WL12XX_INVALID_LINK_ID)
sta              3449 drivers/net/wireless/ti/wlcore/main.c 			     struct ieee80211_sta *sta,
sta              3480 drivers/net/wireless/ti/wlcore/main.c 	ret = wlcore_hw_set_key(wl, cmd, vif, sta, key_conf);
sta              3496 drivers/net/wireless/ti/wlcore/main.c 		   struct ieee80211_sta *sta,
sta              3508 drivers/net/wireless/ti/wlcore/main.c 	wl1271_debug(DEBUG_CRYPT, "CMD: 0x%x sta: %p", cmd, sta);
sta              3515 drivers/net/wireless/ti/wlcore/main.c 		if (sta) {
sta              3516 drivers/net/wireless/ti/wlcore/main.c 			struct wl1271_station *wl_sta = (void *)sta->drv_priv;
sta              3522 drivers/net/wireless/ti/wlcore/main.c 		hlid = wlvif->sta.hlid;
sta              3559 drivers/net/wireless/ti/wlcore/main.c 				 tx_seq_32, tx_seq_16, sta);
sta              3570 drivers/net/wireless/ti/wlcore/main.c 		    (sta || key_type == KEY_WEP) &&
sta              3585 drivers/net/wireless/ti/wlcore/main.c 				     0, 0, sta);
sta              3635 drivers/net/wireless/ti/wlcore/main.c 				wlvif->sta.hlid);
sta              4383 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_sta *sta;
sta              4436 drivers/net/wireless/ti/wlcore/main.c 		sta = ieee80211_find_sta(vif, bss_conf->bssid);
sta              4437 drivers/net/wireless/ti/wlcore/main.c 		if (sta) {
sta              4438 drivers/net/wireless/ti/wlcore/main.c 			u8 *rx_mask = sta->ht_cap.mcs.rx_mask;
sta              4441 drivers/net/wireless/ti/wlcore/main.c 			sta_rate_set = sta->supp_rates[wlvif->band];
sta              4442 drivers/net/wireless/ti/wlcore/main.c 			if (sta->ht_cap.ht_supported)
sta              4446 drivers/net/wireless/ti/wlcore/main.c 			sta_ht_cap = sta->ht_cap;
sta              4564 drivers/net/wireless/ti/wlcore/main.c 					     wlvif->sta.hlid);
sta              4586 drivers/net/wireless/ti/wlcore/main.c 		wlvif->sta.qos = bss_conf->qos;
sta              5020 drivers/net/wireless/ti/wlcore/main.c 			     struct ieee80211_sta *sta)
sta              5031 drivers/net/wireless/ti/wlcore/main.c 	wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              5042 drivers/net/wireless/ti/wlcore/main.c 	memcpy(wl->links[wl_sta->hlid].addr, sta->addr, ETH_ALEN);
sta              5075 drivers/net/wireless/ti/wlcore/main.c 			  struct ieee80211_sta *sta)
sta              5081 drivers/net/wireless/ti/wlcore/main.c 	wl1271_debug(DEBUG_MAC80211, "mac80211 add sta %d", (int)sta->aid);
sta              5083 drivers/net/wireless/ti/wlcore/main.c 	ret = wl1271_allocate_sta(wl, wlvif, sta);
sta              5087 drivers/net/wireless/ti/wlcore/main.c 	wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              5090 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_cmd_add_peer(wl, wlvif, sta, hlid);
sta              5099 drivers/net/wireless/ti/wlcore/main.c 			     struct ieee80211_sta *sta)
sta              5104 drivers/net/wireless/ti/wlcore/main.c 	wl1271_debug(DEBUG_MAC80211, "mac80211 remove sta %d", (int)sta->aid);
sta              5106 drivers/net/wireless/ti/wlcore/main.c 	wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              5180 drivers/net/wireless/ti/wlcore/main.c 				   struct ieee80211_sta *sta,
sta              5189 drivers/net/wireless/ti/wlcore/main.c 	wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              5195 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_sta_add(wl, wlvif, sta);
sta              5207 drivers/net/wireless/ti/wlcore/main.c 		wl12xx_sta_remove(wl, wlvif, sta);
sta              5220 drivers/net/wireless/ti/wlcore/main.c 		ret = wl12xx_cmd_add_peer(wl, wlvif, sta, wl_sta->hlid);
sta              5224 drivers/net/wireless/ti/wlcore/main.c 		ret = wl1271_acx_set_ht_capabilities(wl, &sta->ht_cap, true,
sta              5252 drivers/net/wireless/ti/wlcore/main.c 		wlcore_save_freed_pkts(wl, wlvif, wlvif->sta.hlid, sta);
sta              5286 drivers/net/wireless/ti/wlcore/main.c 			       struct ieee80211_sta *sta,
sta              5295 drivers/net/wireless/ti/wlcore/main.c 		     sta->aid, old_state, new_state);
sta              5310 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state);
sta              5329 drivers/net/wireless/ti/wlcore/main.c 	struct ieee80211_sta *sta = params->sta;
sta              5349 drivers/net/wireless/ti/wlcore/main.c 		hlid = wlvif->sta.hlid;
sta              5353 drivers/net/wireless/ti/wlcore/main.c 		wl_sta = (struct wl1271_station *)sta->drv_priv;
sta              5774 drivers/net/wireless/ti/wlcore/main.c 				    struct ieee80211_sta *sta,
sta              5785 drivers/net/wireless/ti/wlcore/main.c 	wlvif->rc_update_bw = sta->bandwidth;
sta              5786 drivers/net/wireless/ti/wlcore/main.c 	memcpy(&wlvif->rc_ht_cap, &sta->ht_cap, sizeof(sta->ht_cap));
sta              5792 drivers/net/wireless/ti/wlcore/main.c 				     struct ieee80211_sta *sta,
sta              5829 drivers/net/wireless/ti/wlcore/main.c 					     struct ieee80211_sta *sta)
sta              5831 drivers/net/wireless/ti/wlcore/main.c 	struct wl1271_station *wl_sta = (struct wl1271_station *)sta->drv_priv;
sta               116 drivers/net/wireless/ti/wlcore/ps.c 	struct ieee80211_sta *sta;
sta               131 drivers/net/wireless/ti/wlcore/ps.c 	sta = ieee80211_find_sta(vif, wl->links[hlid].addr);
sta               132 drivers/net/wireless/ti/wlcore/ps.c 	if (!sta) {
sta               139 drivers/net/wireless/ti/wlcore/ps.c 	ieee80211_sta_ps_transition_ni(sta, true);
sta               151 drivers/net/wireless/ti/wlcore/ps.c 	struct ieee80211_sta *sta;
sta               162 drivers/net/wireless/ti/wlcore/ps.c 	sta = ieee80211_find_sta(vif, wl->links[hlid].addr);
sta               163 drivers/net/wireless/ti/wlcore/ps.c 	if (!sta) {
sta               169 drivers/net/wireless/ti/wlcore/ps.c 	ieee80211_sta_ps_transition_ni(sta, false);
sta                40 drivers/net/wireless/ti/wlcore/tx.c 		ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid);
sta               141 drivers/net/wireless/ti/wlcore/tx.c 				struct sk_buff *skb, struct ieee80211_sta *sta)
sta               143 drivers/net/wireless/ti/wlcore/tx.c 	if (sta) {
sta               146 drivers/net/wireless/ti/wlcore/tx.c 		wl_sta = (struct wl1271_station *)sta->drv_priv;
sta               163 drivers/net/wireless/ti/wlcore/tx.c 		      struct sk_buff *skb, struct ieee80211_sta *sta)
sta               168 drivers/net/wireless/ti/wlcore/tx.c 		return wl12xx_tx_get_hlid_ap(wl, wlvif, skb, sta);
sta               176 drivers/net/wireless/ti/wlcore/tx.c 	return wlvif->sta.hlid;
sta               320 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.basic_rate_idx;
sta               322 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.p2p_rate_idx;
sta               324 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.ap_rate_idx;
sta               326 drivers/net/wireless/ti/wlcore/tx.c 			rate_idx = wlvif->sta.basic_rate_idx;
sta               240 drivers/net/wireless/ti/wlcore/tx.h 		      struct sk_buff *skb, struct ieee80211_sta *sta);
sta                92 drivers/net/wireless/ti/wlcore/wlcore.h 		       struct ieee80211_sta *sta,
sta               506 drivers/net/wireless/ti/wlcore/wlcore.h 		   struct ieee80211_sta *sta,
sta               362 drivers/net/wireless/ti/wlcore/wlcore_i.h 		} sta;
sta              1636 drivers/net/wireless/zydas/zd1201.c     struct iw_request_info *info, struct sockaddr *sta, char *extra)
sta              1644 drivers/net/wireless/zydas/zd1201.c 	memcpy(buffer, sta->sa_data, ETH_ALEN);
sta               590 drivers/pci/hotplug/acpiphp_glue.c 	unsigned long long sta = 0;
sta               599 drivers/pci/hotplug/acpiphp_glue.c 						       "_STA", NULL, &sta);
sta               600 drivers/pci/hotplug/acpiphp_glue.c 			if (ACPI_SUCCESS(status) && sta)
sta               606 drivers/pci/hotplug/acpiphp_glue.c 				sta = ACPI_STA_ALL;
sta               612 drivers/pci/hotplug/acpiphp_glue.c 	if (!sta) {
sta               620 drivers/pci/hotplug/acpiphp_glue.c 			sta = ACPI_STA_ALL;
sta               624 drivers/pci/hotplug/acpiphp_glue.c 	return (unsigned int)sta;
sta               627 drivers/pci/hotplug/acpiphp_glue.c static inline bool device_status_valid(unsigned int sta)
sta               635 drivers/pci/hotplug/acpiphp_glue.c 	return (sta & mask) == mask;
sta               650 drivers/pci/hotplug/acpiphp_glue.c 		unsigned long long sta;
sta               652 drivers/pci/hotplug/acpiphp_glue.c 		status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta);
sta               653 drivers/pci/hotplug/acpiphp_glue.c 		alive = alive || (ACPI_SUCCESS(status) && device_status_valid(sta));
sta               371 drivers/pci/pcie/aer.c 	u16 sta;
sta               373 drivers/pci/pcie/aer.c 	pcie_capability_read_word(dev, PCI_EXP_DEVSTA, &sta);
sta               374 drivers/pci/pcie/aer.c 	pcie_capability_write_word(dev, PCI_EXP_DEVSTA, sta);
sta              6330 drivers/scsi/advansys.c 	bool sta = true;
sta              6344 drivers/scsi/advansys.c 			sta = false;
sta              6347 drivers/scsi/advansys.c 		sta = false;
sta              6352 drivers/scsi/advansys.c 	return (sta);
sta              7253 drivers/scsi/advansys.c 	bool sta = false;
sta              7263 drivers/scsi/advansys.c 			sta = true;
sta              7269 drivers/scsi/advansys.c 	return sta;
sta              7275 drivers/scsi/advansys.c 	bool sta = false;
sta              7278 drivers/scsi/advansys.c 		sta = AscSetChipSynRegAtID(iop_base, tid_no, sdtr_data);
sta              7281 drivers/scsi/advansys.c 	return sta;
sta              8002 drivers/scsi/advansys.c 	int sta;
sta              8086 drivers/scsi/advansys.c 	sta = AscPutReadyQueue(asc_dvc, scsiq, q_no);
sta              8089 drivers/scsi/advansys.c 	return (sta);
sta              8100 drivers/scsi/advansys.c 	int sta;
sta              8105 drivers/scsi/advansys.c 	sta = 0;
sta              8114 drivers/scsi/advansys.c 			sta = AscPutReadySgListQueue(asc_dvc, scsiq,
sta              8121 drivers/scsi/advansys.c 			sta = AscPutReadyQueue(asc_dvc, scsiq, free_q_head);
sta              8124 drivers/scsi/advansys.c 	if (sta == 1) {
sta              8129 drivers/scsi/advansys.c 	return sta;
sta              8155 drivers/scsi/advansys.c 	int sta;
sta              8179 drivers/scsi/advansys.c 	sta = 0;
sta              8304 drivers/scsi/advansys.c 			if ((sta =
sta              8308 drivers/scsi/advansys.c 				return (sta);
sta              8348 drivers/scsi/advansys.c 			if ((sta = AscSendScsiQueue(asc_dvc, scsiq,
sta              8351 drivers/scsi/advansys.c 				return (sta);
sta              8356 drivers/scsi/advansys.c 	return (sta);
sta              8923 drivers/scsi/advansys.c 	int sta;
sta              8926 drivers/scsi/advansys.c 	sta = 0;
sta              8934 drivers/scsi/advansys.c 		sta = 1;
sta              8937 drivers/scsi/advansys.c 	return (sta);
sta               281 drivers/soc/mediatek/mtk-cmdq-helper.c 	if (data.sta != CMDQ_CB_NORMAL)
sta               549 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct sta_info *sta = (struct sta_info *)psta;
sta               566 drivers/staging/rtl8188eu/core/rtw_cmd.c 	ether_addr_copy(psetstakey_para->addr, sta->hwaddr);
sta               571 drivers/staging/rtl8188eu/core/rtw_cmd.c 		GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false);
sta               574 drivers/staging/rtl8188eu/core/rtw_cmd.c 		memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16);
sta               590 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct sta_info *sta = (struct sta_info *)psta;
sta               621 drivers/staging/rtl8188eu/core/rtw_cmd.c 		ether_addr_copy(psetstakey_para->addr, sta->hwaddr);
sta               606 drivers/staging/rtl8188eu/core/rtw_recv.c 			   struct sta_info *sta)
sta               622 drivers/staging/rtl8188eu/core/rtw_recv.c 	if (sta)
sta               623 drivers/staging/rtl8188eu/core/rtw_recv.c 		psta = sta;
sta               112 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta)
sta               114 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c 	int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info);
sta               449 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h void init_addba_retry_timer(struct adapter *adapt, struct sta_info *sta);
sta               201 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_pkts(sta) \
sta               202 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_mgnt_pkts \
sta               203 drivers/staging/rtl8188eu/include/sta_info.h 	+ sta->sta_stats.rx_ctrl_pkts \
sta               204 drivers/staging/rtl8188eu/include/sta_info.h 	+ sta->sta_stats.rx_data_pkts)
sta               206 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_pkts(sta) \
sta               207 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_mgnt_pkts \
sta               208 drivers/staging/rtl8188eu/include/sta_info.h 	+ sta->sta_stats.last_rx_ctrl_pkts \
sta               209 drivers/staging/rtl8188eu/include/sta_info.h 	+ sta->sta_stats.last_rx_data_pkts)
sta               211 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_data_pkts(sta) \
sta               212 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_data_pkts)
sta               214 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_data_pkts(sta) \
sta               215 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_data_pkts)
sta               217 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_mgnt_pkts(sta) \
sta               218 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_mgnt_pkts)
sta               220 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_mgnt_pkts(sta) \
sta               221 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_mgnt_pkts)
sta               223 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_beacon_pkts(sta) \
sta               224 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_beacon_pkts)
sta               226 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_beacon_pkts(sta) \
sta               227 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_beacon_pkts)
sta               229 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_probereq_pkts(sta) \
sta               230 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_probereq_pkts)
sta               232 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_probereq_pkts(sta) \
sta               233 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_probereq_pkts)
sta               235 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_probersp_pkts(sta) \
sta               236 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_probersp_pkts)
sta               238 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_probersp_pkts(sta) \
sta               239 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_pkts)
sta               241 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_probersp_bm_pkts(sta) \
sta               242 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_probersp_bm_pkts)
sta               244 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_probersp_bm_pkts(sta) \
sta               245 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_bm_pkts)
sta               247 drivers/staging/rtl8188eu/include/sta_info.h #define sta_rx_probersp_uo_pkts(sta) \
sta               248 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.rx_probersp_uo_pkts)
sta               250 drivers/staging/rtl8188eu/include/sta_info.h #define sta_last_rx_probersp_uo_pkts(sta) \
sta               251 drivers/staging/rtl8188eu/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_uo_pkts)
sta               253 drivers/staging/rtl8188eu/include/sta_info.h #define sta_update_last_rx_pkts(sta) \
sta               255 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_mgnt_pkts = sta->sta_stats.rx_mgnt_pkts; \
sta               256 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_beacon_pkts = sta->sta_stats.rx_beacon_pkts; \
sta               257 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_probereq_pkts = sta->sta_stats.rx_probereq_pkts; \
sta               258 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_probersp_pkts = sta->sta_stats.rx_probersp_pkts; \
sta               259 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_probersp_bm_pkts = sta->sta_stats.rx_probersp_bm_pkts; \
sta               260 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_probersp_uo_pkts = sta->sta_stats.rx_probersp_uo_pkts; \
sta               261 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_ctrl_pkts = sta->sta_stats.rx_ctrl_pkts; \
sta               262 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_data_pkts = sta->sta_stats.rx_data_pkts; \
sta               265 drivers/staging/rtl8188eu/include/sta_info.h #define STA_RX_PKTS_ARG(sta) \
sta               266 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.rx_mgnt_pkts \
sta               267 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.rx_ctrl_pkts \
sta               268 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.rx_data_pkts
sta               270 drivers/staging/rtl8188eu/include/sta_info.h #define STA_LAST_RX_PKTS_ARG(sta) \
sta               271 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.last_rx_mgnt_pkts \
sta               272 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.last_rx_ctrl_pkts \
sta               273 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.last_rx_data_pkts
sta               275 drivers/staging/rtl8188eu/include/sta_info.h #define STA_RX_PKTS_DIFF_ARG(sta) \
sta               276 drivers/staging/rtl8188eu/include/sta_info.h 	sta->sta_stats.rx_mgnt_pkts - sta->sta_stats.last_rx_mgnt_pkts \
sta               277 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.rx_ctrl_pkts - sta->sta_stats.last_rx_ctrl_pkts \
sta               278 drivers/staging/rtl8188eu/include/sta_info.h 	, sta->sta_stats.rx_data_pkts - sta->sta_stats.last_rx_data_pkts
sta               348 drivers/staging/rtl8188eu/include/sta_info.h int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
sta               891 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 	void *sta = NULL;
sta               958 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 		sta = NULL;
sta               969 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 							&sta);
sta              1319 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 	if (sta)
sta              1320 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 		hostap_handle_sta_release(sta);
sta               525 drivers/staging/rtl8712/rtl871x_cmd.c 	struct sta_info *sta = (struct sta_info *)psta;
sta               544 drivers/staging/rtl8712/rtl871x_cmd.c 	ether_addr_copy(psetstakey_para->addr, sta->hwaddr);
sta               549 drivers/staging/rtl8712/rtl871x_cmd.c 		GET_ENCRY_ALGO(psecuritypriv, sta,
sta               552 drivers/staging/rtl8712/rtl871x_cmd.c 		memcpy(&psetstakey_para->key, &sta->x_UncstKey, 16);
sta               971 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_key, bool enqueue)
sta               988 drivers/staging/rtl8723bs/core/rtw_cmd.c 	memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN);
sta               993 drivers/staging/rtl8723bs/core/rtw_cmd.c 		GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false);
sta               997 drivers/staging/rtl8723bs/core/rtw_cmd.c 		memcpy(&psetstakey_para->key, &sta->dot118021x_UncstKey, 16);
sta              1033 drivers/staging/rtl8723bs/core/rtw_cmd.c u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueue)
sta              1043 drivers/staging/rtl8723bs/core/rtw_cmd.c 		while ((cam_id = rtw_camid_search(padapter, sta->hwaddr, -1)) >= 0) {
sta              1044 drivers/staging/rtl8723bs/core/rtw_cmd.c 			DBG_871X_LEVEL(_drv_always_, "clear key for addr:"MAC_FMT", camid:%d\n", MAC_ARG(sta->hwaddr), cam_id);
sta              1074 drivers/staging/rtl8723bs/core/rtw_cmd.c 		memcpy(psetstakey_para->addr, sta->hwaddr, ETH_ALEN);
sta               738 drivers/staging/rtl8723bs/core/rtw_recv.c void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *sta);
sta               739 drivers/staging/rtl8723bs/core/rtw_recv.c void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *sta)
sta               756 drivers/staging/rtl8723bs/core/rtw_recv.c 	if (sta)
sta               757 drivers/staging/rtl8723bs/core/rtw_recv.c 		psta = sta;
sta               105 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta)
sta               107 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c 	int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info);
sta               705 drivers/staging/rtl8723bs/core/rtw_wlan_util.c s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid)
sta               717 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		&& !sta) {
sta               729 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		u8 *addr = sta?sta->hwaddr:NULL;
sta               731 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		if (!sta) {
sta               743 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 			if (sta || _rtw_camid_is_gk(adapter, i))
sta               756 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 			if (sta)
sta               758 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 				, FUNC_ADPT_ARG(adapter), MAC_ARG(sta->hwaddr), kid);
sta               833 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_setstakey_cmd(struct adapter  *padapter, struct sta_info *sta, u8 unicast_key, bool enqueue);
sta               834 drivers/staging/rtl8723bs/include/rtw_cmd.h extern u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueue);
sta               639 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h s16 rtw_camid_alloc(struct adapter *adapter, struct sta_info *sta, u8 kid);
sta               230 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_pkts(sta) \
sta               231 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_mgnt_pkts \
sta               232 drivers/staging/rtl8723bs/include/sta_info.h 	+ sta->sta_stats.rx_ctrl_pkts \
sta               233 drivers/staging/rtl8723bs/include/sta_info.h 	+ sta->sta_stats.rx_data_pkts)
sta               235 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_pkts(sta) \
sta               236 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_mgnt_pkts \
sta               237 drivers/staging/rtl8723bs/include/sta_info.h 	+ sta->sta_stats.last_rx_ctrl_pkts \
sta               238 drivers/staging/rtl8723bs/include/sta_info.h 	+ sta->sta_stats.last_rx_data_pkts)
sta               240 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_data_pkts(sta) \
sta               241 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_data_pkts)
sta               243 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_data_pkts(sta) \
sta               244 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_data_pkts)
sta               246 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_mgnt_pkts(sta) \
sta               247 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_mgnt_pkts)
sta               249 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_mgnt_pkts(sta) \
sta               250 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_mgnt_pkts)
sta               252 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_beacon_pkts(sta) \
sta               253 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_beacon_pkts)
sta               255 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_beacon_pkts(sta) \
sta               256 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_beacon_pkts)
sta               258 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_probereq_pkts(sta) \
sta               259 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_probereq_pkts)
sta               261 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_probereq_pkts(sta) \
sta               262 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_probereq_pkts)
sta               264 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_probersp_pkts(sta) \
sta               265 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_probersp_pkts)
sta               267 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_probersp_pkts(sta) \
sta               268 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_pkts)
sta               270 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_probersp_bm_pkts(sta) \
sta               271 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_probersp_bm_pkts)
sta               273 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_probersp_bm_pkts(sta) \
sta               274 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_bm_pkts)
sta               276 drivers/staging/rtl8723bs/include/sta_info.h #define sta_rx_probersp_uo_pkts(sta) \
sta               277 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.rx_probersp_uo_pkts)
sta               279 drivers/staging/rtl8723bs/include/sta_info.h #define sta_last_rx_probersp_uo_pkts(sta) \
sta               280 drivers/staging/rtl8723bs/include/sta_info.h 	(sta->sta_stats.last_rx_probersp_uo_pkts)
sta               282 drivers/staging/rtl8723bs/include/sta_info.h #define sta_update_last_rx_pkts(sta) \
sta               284 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_mgnt_pkts = sta->sta_stats.rx_mgnt_pkts; \
sta               285 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_beacon_pkts = sta->sta_stats.rx_beacon_pkts; \
sta               286 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_probereq_pkts = sta->sta_stats.rx_probereq_pkts; \
sta               287 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_probersp_pkts = sta->sta_stats.rx_probersp_pkts; \
sta               288 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_probersp_bm_pkts = sta->sta_stats.rx_probersp_bm_pkts; \
sta               289 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_probersp_uo_pkts = sta->sta_stats.rx_probersp_uo_pkts; \
sta               290 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_ctrl_pkts = sta->sta_stats.rx_ctrl_pkts; \
sta               291 drivers/staging/rtl8723bs/include/sta_info.h 		sta->sta_stats.last_rx_data_pkts = sta->sta_stats.rx_data_pkts; \
sta               294 drivers/staging/rtl8723bs/include/sta_info.h #define STA_RX_PKTS_ARG(sta) \
sta               295 drivers/staging/rtl8723bs/include/sta_info.h 	sta->sta_stats.rx_mgnt_pkts \
sta               296 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.rx_ctrl_pkts \
sta               297 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.rx_data_pkts
sta               299 drivers/staging/rtl8723bs/include/sta_info.h #define STA_LAST_RX_PKTS_ARG(sta) \
sta               300 drivers/staging/rtl8723bs/include/sta_info.h 	sta->sta_stats.last_rx_mgnt_pkts \
sta               301 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.last_rx_ctrl_pkts \
sta               302 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.last_rx_data_pkts
sta               304 drivers/staging/rtl8723bs/include/sta_info.h #define STA_RX_PKTS_DIFF_ARG(sta) \
sta               305 drivers/staging/rtl8723bs/include/sta_info.h 	sta->sta_stats.rx_mgnt_pkts - sta->sta_stats.last_rx_mgnt_pkts \
sta               306 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.rx_ctrl_pkts - sta->sta_stats.last_rx_ctrl_pkts \
sta               307 drivers/staging/rtl8723bs/include/sta_info.h 	, sta->sta_stats.rx_data_pkts -sta->sta_stats.last_rx_data_pkts
sta               373 drivers/staging/rtl8723bs/include/sta_info.h int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
sta              1564 drivers/staging/vt6655/device_main.c 		       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              1571 drivers/staging/vt6655/device_main.c 		if (vnt_set_keys(hw, sta, vif, key))
sta                91 drivers/staging/vt6655/key.c int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               101 drivers/staging/vt6655/key.c 	if (sta)
sta               102 drivers/staging/vt6655/key.c 		mac_addr = &sta->addr[0];
sta                50 drivers/staging/vt6655/key.h int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               106 drivers/staging/vt6656/key.c int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               114 drivers/staging/vt6656/key.c 	if (sta)
sta               115 drivers/staging/vt6656/key.c 		mac_addr = &sta->addr[0];
sta                38 drivers/staging/vt6656/key.h int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta               858 drivers/staging/vt6656/main_usb.c 		       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta               865 drivers/staging/vt6656/main_usb.c 		if (vnt_set_keys(hw, sta, vif, key))
sta               121 drivers/xen/xen-acpi-cpuhotplug.c 	unsigned long long sta = 0;
sta               124 drivers/xen/xen-acpi-cpuhotplug.c 	status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
sta               126 drivers/xen/xen-acpi-cpuhotplug.c 	if (ACPI_SUCCESS(status) && (sta & ACPI_STA_DEVICE_PRESENT))
sta               450 include/acpi/acpi_bus.h static inline void acpi_set_device_status(struct acpi_device *adev, u32 sta)
sta               452 include/acpi/acpi_bus.h 	*((u32 *)&adev->status) = sta;
sta               501 include/acpi/acpi_bus.h 				       unsigned long long *sta);
sta                59 include/linux/mailbox/mtk-cmdq-mailbox.h 	enum cmdq_cb_status	sta;
sta               441 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              1070 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              2040 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              2058 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              2549 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              3141 include/net/mac80211.h 	struct ieee80211_sta *sta;
sta              3793 include/net/mac80211.h 	int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta              3796 include/net/mac80211.h 		       struct ieee80211_vif *vif, struct ieee80211_sta *sta,
sta              3801 include/net/mac80211.h 				struct ieee80211_sta *sta,
sta              3831 include/net/mac80211.h 		       struct ieee80211_sta *sta);
sta              3833 include/net/mac80211.h 			  struct ieee80211_sta *sta);
sta              3837 include/net/mac80211.h 				struct ieee80211_sta *sta,
sta              3841 include/net/mac80211.h 			enum sta_notify_cmd, struct ieee80211_sta *sta);
sta              3844 include/net/mac80211.h 			     struct ieee80211_sta *sta);
sta              3846 include/net/mac80211.h 			 struct ieee80211_sta *sta,
sta              3851 include/net/mac80211.h 				   struct ieee80211_sta *sta);
sta              3854 include/net/mac80211.h 			      struct ieee80211_sta *sta,
sta              3858 include/net/mac80211.h 				    struct ieee80211_sta *sta);
sta              3861 include/net/mac80211.h 			       struct ieee80211_sta *sta,
sta              3942 include/net/mac80211.h 				      struct ieee80211_sta *sta,
sta              3947 include/net/mac80211.h 					struct ieee80211_sta *sta,
sta              4012 include/net/mac80211.h 				       struct ieee80211_sta *sta);
sta              4018 include/net/mac80211.h 				   struct ieee80211_sta *sta, u8 oper_class,
sta              4023 include/net/mac80211.h 					   struct ieee80211_sta *sta);
sta              4313 include/net/mac80211.h void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
sta              4394 include/net/mac80211.h int ieee80211_sta_ps_transition(struct ieee80211_sta *sta, bool start);
sta              4409 include/net/mac80211.h static inline int ieee80211_sta_ps_transition_ni(struct ieee80211_sta *sta,
sta              4415 include/net/mac80211.h 	ret = ieee80211_sta_ps_transition(sta, start);
sta              4432 include/net/mac80211.h void ieee80211_sta_pspoll(struct ieee80211_sta *sta);
sta              4450 include/net/mac80211.h void ieee80211_sta_uapsd_trigger(struct ieee80211_sta *sta, u8 tid);
sta              4486 include/net/mac80211.h void ieee80211_sta_set_buffered(struct ieee80211_sta *sta,
sta              4503 include/net/mac80211.h 			    struct ieee80211_sta *sta,
sta              4592 include/net/mac80211.h 					     struct ieee80211_sta *sta,
sta              4596 include/net/mac80211.h 		.sta = sta,
sta              4647 include/net/mac80211.h void ieee80211_report_low_ack(struct ieee80211_sta *sta, u32 num_packets);
sta              5335 include/net/mac80211.h 						struct ieee80211_sta *sta),
sta              5374 include/net/mac80211.h int ieee80211_start_tx_ba_session(struct ieee80211_sta *sta, u16 tid,
sta              5401 include/net/mac80211.h int ieee80211_stop_tx_ba_session(struct ieee80211_sta *sta, u16 tid);
sta              5581 include/net/mac80211.h 				      struct ieee80211_sta *sta,
sta              5605 include/net/mac80211.h 					  struct ieee80211_sta *sta,
sta              5941 include/net/mac80211.h 	void *(*alloc_sta)(void *priv, struct ieee80211_sta *sta, gfp_t gfp);
sta              5944 include/net/mac80211.h 			  struct ieee80211_sta *sta, void *priv_sta);
sta              5947 include/net/mac80211.h 			    struct ieee80211_sta *sta, void *priv_sta,
sta              5949 include/net/mac80211.h 	void (*free_sta)(void *priv, struct ieee80211_sta *sta,
sta              5956 include/net/mac80211.h 			  struct ieee80211_sta *sta, void *priv_sta,
sta              5958 include/net/mac80211.h 	void (*get_rate)(void *priv, struct ieee80211_sta *sta, void *priv_sta,
sta              5967 include/net/mac80211.h static inline int rate_supported(struct ieee80211_sta *sta,
sta              5971 include/net/mac80211.h 	return (sta == NULL || sta->supp_rates[band] & BIT(index));
sta              5976 include/net/mac80211.h 		  struct ieee80211_sta *sta)
sta              5981 include/net/mac80211.h 		if (rate_supported(sta, sband->band, i))
sta              5993 include/net/mac80211.h 			      struct ieee80211_sta *sta)
sta              5998 include/net/mac80211.h 		if (rate_supported(sta, sband->band, i))
sta              6135 include/net/mac80211.h 			      int band, struct ieee80211_sta **sta);
sta              6217 include/net/mac80211.h int ieee80211_reserve_tid(struct ieee80211_sta *sta, u8 tid);
sta              6233 include/net/mac80211.h void ieee80211_unreserve_tid(struct ieee80211_sta *sta, u8 tid);
sta                58 net/mac80211/agg-rx.c void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
sta                61 net/mac80211/agg-rx.c 	struct ieee80211_local *local = sta->local;
sta                64 net/mac80211/agg-rx.c 		.sta = &sta->sta,
sta                72 net/mac80211/agg-rx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta                74 net/mac80211/agg-rx.c 	tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid],
sta                75 net/mac80211/agg-rx.c 					lockdep_is_held(&sta->ampdu_mlme.mtx));
sta                77 net/mac80211/agg-rx.c 	if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid))
sta                80 net/mac80211/agg-rx.c 	RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL);
sta                81 net/mac80211/agg-rx.c 	__clear_bit(tid, sta->ampdu_mlme.agg_session_valid);
sta                83 net/mac80211/agg-rx.c 	ht_dbg(sta->sdata,
sta                85 net/mac80211/agg-rx.c 	       sta->sta.addr, tid,
sta                89 net/mac80211/agg-rx.c 	if (drv_ampdu_action(local, sta->sdata, &params))
sta                90 net/mac80211/agg-rx.c 		sdata_info(sta->sdata,
sta                92 net/mac80211/agg-rx.c 			   sta->sta.addr, tid);
sta                96 net/mac80211/agg-rx.c 		ieee80211_send_delba(sta->sdata, sta->sta.addr,
sta               117 net/mac80211/agg-rx.c void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
sta               120 net/mac80211/agg-rx.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               121 net/mac80211/agg-rx.c 	___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx);
sta               122 net/mac80211/agg-rx.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               129 net/mac80211/agg-rx.c 	struct sta_info *sta;
sta               133 net/mac80211/agg-rx.c 	sta = sta_info_get_bss(sdata, addr);
sta               134 net/mac80211/agg-rx.c 	if (!sta) {
sta               141 net/mac80211/agg-rx.c 			set_bit(i, sta->ampdu_mlme.tid_rx_stop_requested);
sta               143 net/mac80211/agg-rx.c 	ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
sta               155 net/mac80211/agg-rx.c 	struct sta_info *sta = tid_rx->sta;
sta               165 net/mac80211/agg-rx.c 	ht_dbg(sta->sdata, "RX session timer expired on %pM tid %d\n",
sta               166 net/mac80211/agg-rx.c 	       sta->sta.addr, tid);
sta               168 net/mac80211/agg-rx.c 	set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired);
sta               169 net/mac80211/agg-rx.c 	ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
sta               177 net/mac80211/agg-rx.c 	ieee80211_release_reorder_timeout(tid_rx->sta, tid_rx->tid);
sta               214 net/mac80211/agg-rx.c static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid,
sta               219 net/mac80211/agg-rx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               262 net/mac80211/agg-rx.c 	if (sta->sta.he_cap.has_he && addbaext)
sta               268 net/mac80211/agg-rx.c void ___ieee80211_start_rx_ba_session(struct sta_info *sta,
sta               274 net/mac80211/agg-rx.c 	struct ieee80211_local *local = sta->sdata->local;
sta               277 net/mac80211/agg-rx.c 		.sta = &sta->sta,
sta               289 net/mac80211/agg-rx.c 		ht_dbg(sta->sdata,
sta               291 net/mac80211/agg-rx.c 		       sta->sta.addr, tid);
sta               295 net/mac80211/agg-rx.c 	if (!sta->sta.ht_cap.ht_supported) {
sta               296 net/mac80211/agg-rx.c 		ht_dbg(sta->sdata,
sta               298 net/mac80211/agg-rx.c 		       sta->sta.addr, tid);
sta               303 net/mac80211/agg-rx.c 	if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) {
sta               304 net/mac80211/agg-rx.c 		ht_dbg(sta->sdata,
sta               306 net/mac80211/agg-rx.c 		       sta->sta.addr, tid);
sta               310 net/mac80211/agg-rx.c 	if (sta->sta.he_cap.has_he)
sta               320 net/mac80211/agg-rx.c 	     (!(sta->sta.ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA))) ||
sta               323 net/mac80211/agg-rx.c 		ht_dbg_ratelimited(sta->sdata,
sta               325 net/mac80211/agg-rx.c 				   sta->sta.addr, tid, ba_policy, buf_size);
sta               333 net/mac80211/agg-rx.c 	if (buf_size > sta->sta.max_rx_aggregation_subframes)
sta               334 net/mac80211/agg-rx.c 		buf_size = sta->sta.max_rx_aggregation_subframes;
sta               337 net/mac80211/agg-rx.c 	ht_dbg(sta->sdata, "AddBA Req buf_size=%d for %pM\n",
sta               338 net/mac80211/agg-rx.c 	       buf_size, sta->sta.addr);
sta               341 net/mac80211/agg-rx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta               343 net/mac80211/agg-rx.c 	if (test_bit(tid, sta->ampdu_mlme.agg_session_valid)) {
sta               344 net/mac80211/agg-rx.c 		if (sta->ampdu_mlme.tid_rx_token[tid] == dialog_token) {
sta               347 net/mac80211/agg-rx.c 			ht_dbg_ratelimited(sta->sdata,
sta               349 net/mac80211/agg-rx.c 					   sta->sta.addr, tid);
sta               356 net/mac80211/agg-rx.c 			tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
sta               365 net/mac80211/agg-rx.c 		ht_dbg_ratelimited(sta->sdata,
sta               367 net/mac80211/agg-rx.c 				   sta->sta.addr, tid);
sta               370 net/mac80211/agg-rx.c 		___ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT,
sta               376 net/mac80211/agg-rx.c 		ret = drv_ampdu_action(local, sta->sdata, &params);
sta               377 net/mac80211/agg-rx.c 		ht_dbg(sta->sdata,
sta               379 net/mac80211/agg-rx.c 		       sta->sta.addr, tid, ret);
sta               415 net/mac80211/agg-rx.c 	ret = drv_ampdu_action(local, sta->sdata, &params);
sta               416 net/mac80211/agg-rx.c 	ht_dbg(sta->sdata, "Rx A-MPDU request on %pM tid %d result %d\n",
sta               417 net/mac80211/agg-rx.c 	       sta->sta.addr, tid, ret);
sta               435 net/mac80211/agg-rx.c 	tid_agg_rx->sta = sta;
sta               439 net/mac80211/agg-rx.c 	rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx);
sta               448 net/mac80211/agg-rx.c 		__set_bit(tid, sta->ampdu_mlme.agg_session_valid);
sta               449 net/mac80211/agg-rx.c 		__clear_bit(tid, sta->ampdu_mlme.unexpected_agg);
sta               450 net/mac80211/agg-rx.c 		sta->ampdu_mlme.tid_rx_token[tid] = dialog_token;
sta               454 net/mac80211/agg-rx.c 		ieee80211_send_addba_resp(sta, sta->sta.addr, tid,
sta               459 net/mac80211/agg-rx.c static void __ieee80211_start_rx_ba_session(struct sta_info *sta,
sta               466 net/mac80211/agg-rx.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               467 net/mac80211/agg-rx.c 	___ieee80211_start_rx_ba_session(sta, dialog_token, timeout,
sta               470 net/mac80211/agg-rx.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               474 net/mac80211/agg-rx.c 				     struct sta_info *sta,
sta               503 net/mac80211/agg-rx.c 	__ieee80211_start_rx_ba_session(sta, dialog_token, timeout,
sta               514 net/mac80211/agg-rx.c 	struct sta_info *sta;
sta               517 net/mac80211/agg-rx.c 	sta = sta_info_get_bss(sdata, addr);
sta               518 net/mac80211/agg-rx.c 	if (!sta)
sta               521 net/mac80211/agg-rx.c 	set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl);
sta               522 net/mac80211/agg-rx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               533 net/mac80211/agg-rx.c 	struct sta_info *sta;
sta               536 net/mac80211/agg-rx.c 	sta = sta_info_get_bss(sdata, addr);
sta               537 net/mac80211/agg-rx.c 	if (!sta)
sta               540 net/mac80211/agg-rx.c 	set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired);
sta               541 net/mac80211/agg-rx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               142 net/mac80211/agg-tx.c void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
sta               145 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta               146 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->lock);
sta               147 net/mac80211/agg-tx.c 	rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx);
sta               190 net/mac80211/agg-tx.c ieee80211_agg_stop_txq(struct sta_info *sta, int tid)
sta               192 net/mac80211/agg-tx.c 	struct ieee80211_txq *txq = sta->sta.txq[tid];
sta               211 net/mac80211/agg-tx.c ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable)
sta               213 net/mac80211/agg-tx.c 	struct ieee80211_txq *txq = sta->sta.txq[tid];
sta               229 net/mac80211/agg-tx.c 	schedule_and_wake_txq(sta->sdata->local, txqi);
sta               268 net/mac80211/agg-tx.c static void ieee80211_remove_tid_tx(struct sta_info *sta, int tid)
sta               272 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta               273 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->lock);
sta               275 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               287 net/mac80211/agg-tx.c 	ieee80211_agg_splice_packets(sta->sdata, tid_tx, tid);
sta               290 net/mac80211/agg-tx.c 	ieee80211_assign_tid_tx(sta, tid, NULL);
sta               292 net/mac80211/agg-tx.c 	ieee80211_agg_splice_finish(sta->sdata, tid);
sta               293 net/mac80211/agg-tx.c 	ieee80211_agg_start_txq(sta, tid, false);
sta               298 net/mac80211/agg-tx.c int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
sta               301 net/mac80211/agg-tx.c 	struct ieee80211_local *local = sta->local;
sta               304 net/mac80211/agg-tx.c 		.sta = &sta->sta,
sta               313 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta               329 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               332 net/mac80211/agg-tx.c 	tid_tx = sta->ampdu_mlme.tid_start_tx[tid];
sta               334 net/mac80211/agg-tx.c 	sta->ampdu_mlme.tid_start_tx[tid] = NULL;
sta               336 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               338 net/mac80211/agg-tx.c 		spin_unlock_bh(&sta->lock);
sta               347 net/mac80211/agg-tx.c 		spin_unlock_bh(&sta->lock);
sta               351 net/mac80211/agg-tx.c 		ret = drv_ampdu_action(local, sta->sdata, &params);
sta               358 net/mac80211/agg-tx.c 		ieee80211_assign_tid_tx(sta, tid, NULL);
sta               359 net/mac80211/agg-tx.c 		spin_unlock_bh(&sta->lock);
sta               366 net/mac80211/agg-tx.c 	ieee80211_agg_stop_txq(sta, tid);
sta               368 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               370 net/mac80211/agg-tx.c 	ht_dbg(sta->sdata, "Tx BA session stop requested for %pM tid %u\n",
sta               371 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               403 net/mac80211/agg-tx.c 	ret = drv_ampdu_action(local, sta->sdata, &params);
sta               434 net/mac80211/agg-tx.c 	struct sta_info *sta = tid_tx->sta;
sta               439 net/mac80211/agg-tx.c 		ht_dbg(sta->sdata,
sta               441 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               445 net/mac80211/agg-tx.c 	ht_dbg(sta->sdata, "addBA response timer expired on %pM tid %d\n",
sta               446 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               448 net/mac80211/agg-tx.c 	ieee80211_stop_tx_ba_session(&sta->sta, tid);
sta               451 net/mac80211/agg-tx.c void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid)
sta               454 net/mac80211/agg-tx.c 	struct ieee80211_local *local = sta->local;
sta               455 net/mac80211/agg-tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               457 net/mac80211/agg-tx.c 		.sta = &sta->sta,
sta               467 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               476 net/mac80211/agg-tx.c 	ieee80211_agg_stop_txq(sta, tid);
sta               486 net/mac80211/agg-tx.c 	params.ssn = sta->tid_seq[tid] >> 4;
sta               491 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               492 net/mac80211/agg-tx.c 		spin_lock_bh(&sta->lock);
sta               494 net/mac80211/agg-tx.c 		ieee80211_assign_tid_tx(sta, tid, NULL);
sta               496 net/mac80211/agg-tx.c 		spin_unlock_bh(&sta->lock);
sta               498 net/mac80211/agg-tx.c 		ieee80211_agg_start_txq(sta, tid, false);
sta               507 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               509 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               510 net/mac80211/agg-tx.c 	sta->ampdu_mlme.last_addba_req_time[tid] = jiffies;
sta               511 net/mac80211/agg-tx.c 	sta->ampdu_mlme.addba_req_num[tid]++;
sta               512 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               514 net/mac80211/agg-tx.c 	if (sta->sta.he_cap.has_he) {
sta               527 net/mac80211/agg-tx.c 	ieee80211_send_addba_request(sdata, sta->sta.addr, tid,
sta               539 net/mac80211/agg-tx.c 	struct sta_info *sta = tid_tx->sta;
sta               553 net/mac80211/agg-tx.c 	ht_dbg(sta->sdata, "tx session timer expired on %pM tid %d\n",
sta               554 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               556 net/mac80211/agg-tx.c 	ieee80211_stop_tx_ba_session(&sta->sta, tid);
sta               562 net/mac80211/agg-tx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta               563 net/mac80211/agg-tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               570 net/mac80211/agg-tx.c 	if (WARN(sta->reserved_tid == tid,
sta               598 net/mac80211/agg-tx.c 	if (test_sta_flag(sta, WLAN_STA_BLOCK_BA)) {
sta               601 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               617 net/mac80211/agg-tx.c 	if (sta->sdata->vif.type == NL80211_IFTYPE_ADHOC &&
sta               618 net/mac80211/agg-tx.c 	    !sta->sta.ht_cap.ht_supported) {
sta               625 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               628 net/mac80211/agg-tx.c 	if (sta->ampdu_mlme.addba_req_num[tid] > HT_AGG_MAX_RETRIES) {
sta               638 net/mac80211/agg-tx.c 	if (sta->ampdu_mlme.addba_req_num[tid] > HT_AGG_BURST_RETRIES &&
sta               639 net/mac80211/agg-tx.c 	    time_before(jiffies, sta->ampdu_mlme.last_addba_req_time[tid] +
sta               643 net/mac80211/agg-tx.c 		       sta->ampdu_mlme.addba_req_num[tid], sta->sta.addr, tid);
sta               648 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               650 net/mac80211/agg-tx.c 	if (tid_tx || sta->ampdu_mlme.tid_start_tx[tid]) {
sta               653 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               669 net/mac80211/agg-tx.c 	tid_tx->sta = sta;
sta               680 net/mac80211/agg-tx.c 	sta->ampdu_mlme.dialog_token_allocator++;
sta               681 net/mac80211/agg-tx.c 	tid_tx->dialog_token = sta->ampdu_mlme.dialog_token_allocator;
sta               687 net/mac80211/agg-tx.c 	sta->ampdu_mlme.tid_start_tx[tid] = tid_tx;
sta               689 net/mac80211/agg-tx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               693 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               699 net/mac80211/agg-tx.c 					 struct sta_info *sta, u16 tid)
sta               703 net/mac80211/agg-tx.c 		.sta = &sta->sta,
sta               710 net/mac80211/agg-tx.c 	lockdep_assert_held(&sta->ampdu_mlme.mtx);
sta               712 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               716 net/mac80211/agg-tx.c 	ht_dbg(sta->sdata, "Aggregation is on for %pM tid %d\n",
sta               717 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               719 net/mac80211/agg-tx.c 	drv_ampdu_action(local, sta->sdata, &params);
sta               725 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               727 net/mac80211/agg-tx.c 	ieee80211_agg_splice_packets(sta->sdata, tid_tx, tid);
sta               734 net/mac80211/agg-tx.c 	ieee80211_agg_splice_finish(sta->sdata, tid);
sta               736 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               738 net/mac80211/agg-tx.c 	ieee80211_agg_start_txq(sta, tid, true);
sta               741 net/mac80211/agg-tx.c void ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid,
sta               744 net/mac80211/agg-tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               751 net/mac80211/agg-tx.c 		ieee80211_agg_tx_operational(local, sta, tid);
sta               756 net/mac80211/agg-tx.c 			const u8 *ra, u16 tid, struct sta_info **sta)
sta               766 net/mac80211/agg-tx.c 	*sta = sta_info_get_bss(sdata, ra);
sta               767 net/mac80211/agg-tx.c 	if (!*sta) {
sta               772 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference((*sta)->ampdu_mlme.tid_tx[tid]);
sta               785 net/mac80211/agg-tx.c 	struct sta_info *sta;
sta               791 net/mac80211/agg-tx.c 	tid_tx = ieee80211_lookup_tid_tx(sdata, ra, tid, &sta);
sta               796 net/mac80211/agg-tx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               802 net/mac80211/agg-tx.c int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
sta               807 net/mac80211/agg-tx.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               809 net/mac80211/agg-tx.c 	ret = ___ieee80211_stop_tx_ba_session(sta, tid, reason);
sta               811 net/mac80211/agg-tx.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               818 net/mac80211/agg-tx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta               819 net/mac80211/agg-tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               832 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               833 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               840 net/mac80211/agg-tx.c 	WARN(sta->reserved_tid == tid,
sta               850 net/mac80211/agg-tx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               853 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               858 net/mac80211/agg-tx.c void ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid,
sta               861 net/mac80211/agg-tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               865 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               867 net/mac80211/agg-tx.c 	spin_lock_bh(&sta->lock);
sta               872 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               879 net/mac80211/agg-tx.c 	ieee80211_remove_tid_tx(sta, tid);
sta               882 net/mac80211/agg-tx.c 	spin_unlock_bh(&sta->lock);
sta               885 net/mac80211/agg-tx.c 		ieee80211_send_delba(sdata, sta->sta.addr, tid,
sta               894 net/mac80211/agg-tx.c 	struct sta_info *sta;
sta               900 net/mac80211/agg-tx.c 	tid_tx = ieee80211_lookup_tid_tx(sdata, ra, tid, &sta);
sta               905 net/mac80211/agg-tx.c 	ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work);
sta               913 net/mac80211/agg-tx.c 				  struct sta_info *sta,
sta               928 net/mac80211/agg-tx.c 	txq = sta->sta.txq[tid];
sta               932 net/mac80211/agg-tx.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               934 net/mac80211/agg-tx.c 	tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               939 net/mac80211/agg-tx.c 		ht_dbg(sta->sdata, "wrong addBA response token, %pM tid %d\n",
sta               940 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               946 net/mac80211/agg-tx.c 	ht_dbg(sta->sdata, "switched off addBA timer for %pM tid %d\n",
sta               947 net/mac80211/agg-tx.c 	       sta->sta.addr, tid);
sta               956 net/mac80211/agg-tx.c 		ht_dbg(sta->sdata,
sta               958 net/mac80211/agg-tx.c 		       sta->sta.addr, tid);
sta               980 net/mac80211/agg-tx.c 			ieee80211_agg_tx_operational(local, sta, tid);
sta               982 net/mac80211/agg-tx.c 		sta->ampdu_mlme.addba_req_num[tid] = 0;
sta               994 net/mac80211/agg-tx.c 		___ieee80211_stop_tx_ba_session(sta, tid, AGG_STOP_DECLINED);
sta               998 net/mac80211/agg-tx.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               163 net/mac80211/cfg.c 		RCU_INIT_POINTER(sdata->u.vlan.sta, NULL);
sta               360 net/mac80211/cfg.c 	struct sta_info *sta;
sta               367 net/mac80211/cfg.c 	sta = sta_info_get_bss(sdata, mac_addr);
sta               369 net/mac80211/cfg.c 	if (!sta)
sta               372 net/mac80211/cfg.c 	if (sta->ptk_idx == key_idx)
sta               376 net/mac80211/cfg.c 	key = key_mtx_dereference(local, sta->ptk[key_idx]);
sta               391 net/mac80211/cfg.c 	struct sta_info *sta = NULL;
sta               438 net/mac80211/cfg.c 		sta = sta_info_get_bss(sdata, mac_addr);
sta               449 net/mac80211/cfg.c 		if (!sta || !test_sta_flag(sta, WLAN_STA_ASSOC)) {
sta               464 net/mac80211/cfg.c 		if (sta && test_sta_flag(sta, WLAN_STA_MFP))
sta               490 net/mac80211/cfg.c 	if (sta)
sta               491 net/mac80211/cfg.c 		sta->cipher_scheme = cs;
sta               493 net/mac80211/cfg.c 	err = ieee80211_key_link(key, sdata, sta);
sta               506 net/mac80211/cfg.c 	struct sta_info *sta;
sta               516 net/mac80211/cfg.c 		sta = sta_info_get_bss(sdata, mac_addr);
sta               517 net/mac80211/cfg.c 		if (!sta)
sta               521 net/mac80211/cfg.c 			key = key_mtx_dereference(local, sta->ptk[key_idx]);
sta               523 net/mac80211/cfg.c 			key = key_mtx_dereference(local, sta->gtk[key_idx]);
sta               549 net/mac80211/cfg.c 	struct sta_info *sta = NULL;
sta               564 net/mac80211/cfg.c 		sta = sta_info_get_bss(sdata, mac_addr);
sta               565 net/mac80211/cfg.c 		if (!sta)
sta               569 net/mac80211/cfg.c 			key = rcu_dereference(sta->ptk[key_idx]);
sta               572 net/mac80211/cfg.c 			key = rcu_dereference(sta->gtk[key_idx]);
sta               683 net/mac80211/cfg.c void sta_set_rate_info_tx(struct sta_info *sta,
sta               697 net/mac80211/cfg.c 		int shift = ieee80211_vif_get_shift(&sta->sdata->vif);
sta               700 net/mac80211/cfg.c 		sband = ieee80211_get_sband(sta->sdata);
sta               723 net/mac80211/cfg.c 	struct sta_info *sta;
sta               728 net/mac80211/cfg.c 	sta = sta_info_get_by_idx(sdata, idx);
sta               729 net/mac80211/cfg.c 	if (sta) {
sta               731 net/mac80211/cfg.c 		memcpy(mac, sta->sta.addr, ETH_ALEN);
sta               732 net/mac80211/cfg.c 		sta_set_sinfo(sta, sinfo, true);
sta               753 net/mac80211/cfg.c 	struct sta_info *sta;
sta               758 net/mac80211/cfg.c 	sta = sta_info_get_bss(sdata, mac);
sta               759 net/mac80211/cfg.c 	if (sta) {
sta               761 net/mac80211/cfg.c 		sta_set_sinfo(sta, sinfo, true);
sta              1205 net/mac80211/cfg.c 				struct sta_info *sta,
sta              1212 net/mac80211/cfg.c 	    !test_sta_flag(sta, WLAN_STA_AUTH)) {
sta              1213 net/mac80211/cfg.c 		ret = sta_info_move_state(sta, IEEE80211_STA_AUTH);
sta              1220 net/mac80211/cfg.c 	    !test_sta_flag(sta, WLAN_STA_ASSOC)) {
sta              1226 net/mac80211/cfg.c 		if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
sta              1227 net/mac80211/cfg.c 			rate_control_rate_init(sta);
sta              1229 net/mac80211/cfg.c 		ret = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
sta              1236 net/mac80211/cfg.c 			ret = sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta              1237 net/mac80211/cfg.c 		else if (test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              1238 net/mac80211/cfg.c 			ret = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
sta              1247 net/mac80211/cfg.c 	    test_sta_flag(sta, WLAN_STA_ASSOC)) {
sta              1248 net/mac80211/cfg.c 		ret = sta_info_move_state(sta, IEEE80211_STA_AUTH);
sta              1255 net/mac80211/cfg.c 	    test_sta_flag(sta, WLAN_STA_AUTH)) {
sta              1256 net/mac80211/cfg.c 		ret = sta_info_move_state(sta, IEEE80211_STA_NONE);
sta              1265 net/mac80211/cfg.c 				  struct sta_info *sta,
sta              1269 net/mac80211/cfg.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1275 net/mac80211/cfg.c 			if (sta->mesh->plink_state != NL80211_PLINK_ESTAB)
sta              1277 net/mac80211/cfg.c 			sta->mesh->plink_state = params->plink_state;
sta              1278 net/mac80211/cfg.c 			sta->mesh->aid = params->peer_aid;
sta              1280 net/mac80211/cfg.c 			ieee80211_mps_sta_status_update(sta);
sta              1281 net/mac80211/cfg.c 			changed |= ieee80211_mps_set_sta_local_pm(sta,
sta              1284 net/mac80211/cfg.c 			ewma_mesh_tx_rate_avg_init(&sta->mesh->tx_rate_avg);
sta              1286 net/mac80211/cfg.c 			ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, 10);
sta              1295 net/mac80211/cfg.c 			if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta              1297 net/mac80211/cfg.c 			sta->mesh->plink_state = params->plink_state;
sta              1299 net/mac80211/cfg.c 			ieee80211_mps_sta_status_update(sta);
sta              1300 net/mac80211/cfg.c 			changed |= ieee80211_mps_set_sta_local_pm(sta,
sta              1314 net/mac80211/cfg.c 		changed |= mesh_plink_open(sta);
sta              1317 net/mac80211/cfg.c 		changed |= mesh_plink_block(sta);
sta              1322 net/mac80211/cfg.c 		changed |= ieee80211_mps_set_sta_local_pm(sta,
sta              1330 net/mac80211/cfg.c 				struct sta_info *sta,
sta              1335 net/mac80211/cfg.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1354 net/mac80211/cfg.c 	} else if (test_sta_flag(sta, WLAN_STA_TDLS_PEER)) {
sta              1370 net/mac80211/cfg.c 		sta->sta.wme = set & BIT(NL80211_STA_FLAG_WME);
sta              1374 net/mac80211/cfg.c 	if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER) &&
sta              1377 net/mac80211/cfg.c 		ret = sta_apply_auth_flags(local, sta, mask, set);
sta              1384 net/mac80211/cfg.c 			set_sta_flag(sta, WLAN_STA_SHORT_PREAMBLE);
sta              1386 net/mac80211/cfg.c 			clear_sta_flag(sta, WLAN_STA_SHORT_PREAMBLE);
sta              1390 net/mac80211/cfg.c 		sta->sta.mfp = !!(set & BIT(NL80211_STA_FLAG_MFP));
sta              1392 net/mac80211/cfg.c 			set_sta_flag(sta, WLAN_STA_MFP);
sta              1394 net/mac80211/cfg.c 			clear_sta_flag(sta, WLAN_STA_MFP);
sta              1399 net/mac80211/cfg.c 			set_sta_flag(sta, WLAN_STA_TDLS_PEER);
sta              1401 net/mac80211/cfg.c 			clear_sta_flag(sta, WLAN_STA_TDLS_PEER);
sta              1405 net/mac80211/cfg.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) &&
sta              1409 net/mac80211/cfg.c 		set_sta_flag(sta, WLAN_STA_TDLS_CHAN_SWITCH);
sta              1411 net/mac80211/cfg.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) &&
sta              1416 net/mac80211/cfg.c 		set_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW);
sta              1419 net/mac80211/cfg.c 		sta->sta.uapsd_queues = params->uapsd_queues;
sta              1420 net/mac80211/cfg.c 		sta->sta.max_sp = params->max_sp;
sta              1438 net/mac80211/cfg.c 			sta->sta.max_amsdu_subframes = 32;
sta              1441 net/mac80211/cfg.c 			sta->sta.max_amsdu_subframes = 16;
sta              1444 net/mac80211/cfg.c 			sta->sta.max_amsdu_subframes = 8;
sta              1447 net/mac80211/cfg.c 			sta->sta.max_amsdu_subframes = 0;
sta              1456 net/mac80211/cfg.c 		sta->sta.aid = params->aid;
sta              1467 net/mac80211/cfg.c 		sta->listen_interval = params->listen_interval;
sta              1470 net/mac80211/cfg.c 		sta->sta.txpwr.type = params->txpwr.type;
sta              1472 net/mac80211/cfg.c 			sta->sta.txpwr.power = params->txpwr.power;
sta              1473 net/mac80211/cfg.c 		ret = drv_sta_set_txpwr(local, sdata, sta);
sta              1482 net/mac80211/cfg.c 					 &sta->sta.supp_rates[sband->band]);
sta              1487 net/mac80211/cfg.c 						  params->ht_capa, sta);
sta              1492 net/mac80211/cfg.c 						    params->vht_capa, sta);
sta              1497 net/mac80211/cfg.c 						  params->he_capa_len, sta);
sta              1503 net/mac80211/cfg.c 		__ieee80211_vht_handle_opmode(sdata, sta, params->opmode_notif,
sta              1508 net/mac80211/cfg.c 		sta->sta.support_p2p_ps = params->support_p2p_ps;
sta              1511 net/mac80211/cfg.c 		sta_apply_mesh_params(local, sta, params);
sta              1514 net/mac80211/cfg.c 		sta->airtime_weight = params->airtime_weight;
sta              1517 net/mac80211/cfg.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) ||
sta              1519 net/mac80211/cfg.c 		ret = sta_apply_auth_flags(local, sta, mask, set);
sta              1532 net/mac80211/cfg.c 	struct sta_info *sta;
sta              1556 net/mac80211/cfg.c 	sta = sta_info_alloc(sdata, mac, GFP_KERNEL);
sta              1557 net/mac80211/cfg.c 	if (!sta)
sta              1561 net/mac80211/cfg.c 		sta->sta.tdls = true;
sta              1563 net/mac80211/cfg.c 	err = sta_apply_parameters(local, sta, params);
sta              1565 net/mac80211/cfg.c 		sta_info_free(local, sta);
sta              1574 net/mac80211/cfg.c 	if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER) &&
sta              1575 net/mac80211/cfg.c 	    test_sta_flag(sta, WLAN_STA_ASSOC))
sta              1576 net/mac80211/cfg.c 		rate_control_rate_init(sta);
sta              1578 net/mac80211/cfg.c 	err = sta_info_insert_rcu(sta);
sta              1609 net/mac80211/cfg.c 	struct sta_info *sta;
sta              1616 net/mac80211/cfg.c 	sta = sta_info_get_bss(sdata, mac);
sta              1617 net/mac80211/cfg.c 	if (!sta) {
sta              1633 net/mac80211/cfg.c 		if (!test_sta_flag(sta, WLAN_STA_TDLS_PEER)) {
sta              1637 net/mac80211/cfg.c 		if (test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              1644 net/mac80211/cfg.c 		if (test_sta_flag(sta, WLAN_STA_ASSOC))
sta              1658 net/mac80211/cfg.c 	if (params->vlan && params->vlan != sta->sdata->dev) {
sta              1662 net/mac80211/cfg.c 			if (vlansdata->u.vlan.sta) {
sta              1667 net/mac80211/cfg.c 			rcu_assign_pointer(vlansdata->u.vlan.sta, sta);
sta              1671 net/mac80211/cfg.c 		if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
sta              1672 net/mac80211/cfg.c 		    sta->sdata->u.vlan.sta)
sta              1673 net/mac80211/cfg.c 			RCU_INIT_POINTER(sta->sdata->u.vlan.sta, NULL);
sta              1675 net/mac80211/cfg.c 		if (test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              1676 net/mac80211/cfg.c 			ieee80211_vif_dec_num_mcast(sta->sdata);
sta              1678 net/mac80211/cfg.c 		sta->sdata = vlansdata;
sta              1679 net/mac80211/cfg.c 		ieee80211_check_fast_xmit(sta);
sta              1681 net/mac80211/cfg.c 		if (test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
sta              1682 net/mac80211/cfg.c 			ieee80211_vif_inc_num_mcast(sta->sdata);
sta              1683 net/mac80211/cfg.c 			cfg80211_send_layer2_update(sta->sdata->dev,
sta              1684 net/mac80211/cfg.c 						    sta->sta.addr);
sta              1688 net/mac80211/cfg.c 	err = sta_apply_parameters(local, sta, params);
sta              1696 net/mac80211/cfg.c 	    sta->known_smps_mode != sta->sdata->bss->req_smps &&
sta              1697 net/mac80211/cfg.c 	    test_sta_flag(sta, WLAN_STA_AUTHORIZED) &&
sta              1698 net/mac80211/cfg.c 	    sta_info_tx_streams(sta) != 1) {
sta              1699 net/mac80211/cfg.c 		ht_dbg(sta->sdata,
sta              1701 net/mac80211/cfg.c 		       sta->sta.addr);
sta              1702 net/mac80211/cfg.c 		ieee80211_send_smps_action(sta->sdata,
sta              1703 net/mac80211/cfg.c 			sta->sdata->bss->req_smps,
sta              1704 net/mac80211/cfg.c 			sta->sta.addr,
sta              1705 net/mac80211/cfg.c 			sta->sdata->vif.bss_conf.bssid);
sta              1726 net/mac80211/cfg.c 	struct sta_info *sta;
sta              1731 net/mac80211/cfg.c 	sta = sta_info_get(sdata, next_hop);
sta              1732 net/mac80211/cfg.c 	if (!sta) {
sta              1743 net/mac80211/cfg.c 	mesh_path_fix_nexthop(mpath, sta);
sta              1766 net/mac80211/cfg.c 	struct sta_info *sta;
sta              1772 net/mac80211/cfg.c 	sta = sta_info_get(sdata, next_hop);
sta              1773 net/mac80211/cfg.c 	if (!sta) {
sta              1784 net/mac80211/cfg.c 	mesh_path_fix_nexthop(mpath, sta);
sta              1796 net/mac80211/cfg.c 		memcpy(next_hop, next_hop_sta->sta.addr, ETH_ALEN);
sta              2642 net/mac80211/cfg.c 	struct sta_info *sta;
sta              2664 net/mac80211/cfg.c 	list_for_each_entry(sta, &sdata->local->sta_list, list) {
sta              2669 net/mac80211/cfg.c 		if (sta->sdata->bss != &sdata->u.ap)
sta              2673 net/mac80211/cfg.c 		if (sta_info_tx_streams(sta) == 1)
sta              2680 net/mac80211/cfg.c 		if (test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta              2681 net/mac80211/cfg.c 		    !ieee80211_smps_is_restrictive(sta->known_smps_mode,
sta              2684 net/mac80211/cfg.c 			       sta->sta.addr);
sta              2692 net/mac80211/cfg.c 		if (!test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              2695 net/mac80211/cfg.c 		ht_dbg(sdata, "Sending SMPS to %pM\n", sta->sta.addr);
sta              2696 net/mac80211/cfg.c 		ieee80211_send_smps_action(sdata, smps_mode, sta->sta.addr,
sta              2713 net/mac80211/cfg.c 	struct sta_info *sta;
sta              2740 net/mac80211/cfg.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
sta              2741 net/mac80211/cfg.c 		if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded ||
sta              2742 net/mac80211/cfg.c 		    !test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              3549 net/mac80211/cfg.c 	struct sta_info *sta;
sta              3564 net/mac80211/cfg.c 	sta = sta_info_get_bss(sdata, peer);
sta              3565 net/mac80211/cfg.c 	if (sta) {
sta              3566 net/mac80211/cfg.c 		qos = sta->sta.wme;
sta              3596 net/mac80211/cfg.c 	memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN);
sta              3619 net/mac80211/cfg.c 	ieee80211_xmit(sdata, sta, skb, 0);
sta               194 net/mac80211/chan.c enum nl80211_chan_width ieee80211_get_sta_bw(struct ieee80211_sta *sta)
sta               196 net/mac80211/chan.c 	switch (sta->bandwidth) {
sta               198 net/mac80211/chan.c 		if (sta->ht_cap.ht_supported)
sta               227 net/mac80211/chan.c 	struct sta_info *sta;
sta               230 net/mac80211/chan.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
sta               231 net/mac80211/chan.c 		if (sdata != sta->sdata &&
sta               232 net/mac80211/chan.c 		    !(sta->sdata->bss && sta->sdata->bss == sdata->bss))
sta               235 net/mac80211/chan.c 		max_bw = max(max_bw, ieee80211_get_sta_bw(&sta->sta));
sta               572 net/mac80211/chan.c 	struct sta_info *sta;
sta               596 net/mac80211/chan.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               597 net/mac80211/chan.c 		if (!sta->uploaded ||
sta               598 net/mac80211/chan.c 		    !test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW) ||
sta               599 net/mac80211/chan.c 		    !test_sta_flag(sta, WLAN_STA_AUTHORIZED) ||
sta               600 net/mac80211/chan.c 		    !sta->tdls_chandef.chan)
sta               603 net/mac80211/chan.c 		compat = cfg80211_chandef_compatible(&sta->tdls_chandef,
sta               331 net/mac80211/debugfs_key.c 	struct sta_info *sta;
sta               342 net/mac80211/debugfs_key.c 	sta = key->sta;
sta               343 net/mac80211/debugfs_key.c 	if (sta) {
sta               345 net/mac80211/debugfs_key.c 			sta->sdata->name, sta->sta.addr);
sta               437 net/mac80211/debugfs_key.c 				   struct sta_info *sta)
sta                14 net/mac80211/debugfs_key.h 				   struct sta_info *sta);
sta                30 net/mac80211/debugfs_key.h 						 struct sta_info *sta)
sta                26 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;			\
sta                28 net/mac80211/debugfs_sta.c 				      format_string, sta->field);	\
sta                51 net/mac80211/debugfs_sta.c STA_FILE(aid, sta.aid, D);
sta                90 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta                96 net/mac80211/debugfs_sta.c 		if (test_sta_flag(sta, flg))
sta               109 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               115 net/mac80211/debugfs_sta.c 			       skb_queue_len(&sta->ps_tx_buf[ac]) +
sta               116 net/mac80211/debugfs_sta.c 			       skb_queue_len(&sta->tx_filtered[ac]));
sta               126 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               129 net/mac80211/debugfs_sta.c 			       le16_to_cpu(sta->last_seq_ctrl[i]));
sta               140 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               141 net/mac80211/debugfs_sta.c 	struct ieee80211_local *local = sta->local;
sta               157 net/mac80211/debugfs_sta.c 		       codel_time_to_us(sta->cparams.target),
sta               158 net/mac80211/debugfs_sta.c 		       codel_time_to_us(sta->cparams.interval),
sta               159 net/mac80211/debugfs_sta.c 		       sta->cparams.ecn ? "yes" : "no");
sta               164 net/mac80211/debugfs_sta.c 	for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
sta               165 net/mac80211/debugfs_sta.c 		if (!sta->sta.txq[i])
sta               167 net/mac80211/debugfs_sta.c 		txqi = to_txq_info(sta->sta.txq[i]);
sta               199 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               200 net/mac80211/debugfs_sta.c 	struct ieee80211_local *local = sta->sdata->local;
sta               213 net/mac80211/debugfs_sta.c 		rx_airtime += sta->airtime[ac].rx_airtime;
sta               214 net/mac80211/debugfs_sta.c 		tx_airtime += sta->airtime[ac].tx_airtime;
sta               215 net/mac80211/debugfs_sta.c 		deficit[ac] = sta->airtime[ac].deficit;
sta               224 net/mac80211/debugfs_sta.c 		sta->airtime_weight,
sta               238 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               239 net/mac80211/debugfs_sta.c 	struct ieee80211_local *local = sta->sdata->local;
sta               244 net/mac80211/debugfs_sta.c 		sta->airtime[ac].rx_airtime = 0;
sta               245 net/mac80211/debugfs_sta.c 		sta->airtime[ac].tx_airtime = 0;
sta               246 net/mac80211/debugfs_sta.c 		sta->airtime[ac].deficit = sta->airtime_weight;
sta               259 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               266 net/mac80211/debugfs_sta.c 			sta->ampdu_mlme.dialog_token_allocator + 1);
sta               273 net/mac80211/debugfs_sta.c 		tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[i]);
sta               274 net/mac80211/debugfs_sta.c 		tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[i]);
sta               275 net/mac80211/debugfs_sta.c 		tid_rx_valid = test_bit(i, sta->ampdu_mlme.agg_session_valid);
sta               282 net/mac80211/debugfs_sta.c 					sta->ampdu_mlme.tid_rx_token[i] : 0);
sta               302 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               355 net/mac80211/debugfs_sta.c 			ret = ieee80211_start_tx_ba_session(&sta->sta, tid,
sta               358 net/mac80211/debugfs_sta.c 			ret = ieee80211_stop_tx_ba_session(&sta->sta, tid);
sta               360 net/mac80211/debugfs_sta.c 		__ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT,
sta               379 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               380 net/mac80211/debugfs_sta.c 	struct ieee80211_sta_ht_cap *htc = &sta->sta.ht_cap;
sta               455 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               456 net/mac80211/debugfs_sta.c 	struct ieee80211_sta_vht_cap *vhtc = &sta->sta.vht_cap;
sta               561 net/mac80211/debugfs_sta.c 	struct sta_info *sta = file->private_data;
sta               562 net/mac80211/debugfs_sta.c 	struct ieee80211_sta_he_cap *hec = &sta->sta.he_cap;
sta               929 net/mac80211/debugfs_sta.c 		sta->debugfs_dir, sta, &sta_ ##name## _ops);
sta               932 net/mac80211/debugfs_sta.c 	if (sizeof(sta->field) == sizeof(u32))				\
sta               933 net/mac80211/debugfs_sta.c 		debugfs_create_u32(#name, 0400, sta->debugfs_dir,	\
sta               934 net/mac80211/debugfs_sta.c 			(u32 *) &sta->field);				\
sta               936 net/mac80211/debugfs_sta.c 		debugfs_create_u64(#name, 0400, sta->debugfs_dir,	\
sta               937 net/mac80211/debugfs_sta.c 			(u64 *) &sta->field);
sta               939 net/mac80211/debugfs_sta.c void ieee80211_sta_debugfs_add(struct sta_info *sta)
sta               941 net/mac80211/debugfs_sta.c 	struct ieee80211_local *local = sta->local;
sta               942 net/mac80211/debugfs_sta.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               943 net/mac80211/debugfs_sta.c 	struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
sta               949 net/mac80211/debugfs_sta.c 	snprintf(mac, sizeof(mac), "%pM", sta->sta.addr);
sta               960 net/mac80211/debugfs_sta.c 	sta->debugfs_dir = debugfs_create_dir(mac, stations_dir);
sta               982 net/mac80211/debugfs_sta.c 	if (sizeof(sta->driver_buffered_tids) == sizeof(u32))
sta               984 net/mac80211/debugfs_sta.c 				   sta->debugfs_dir,
sta               985 net/mac80211/debugfs_sta.c 				   (u32 *)&sta->driver_buffered_tids);
sta               988 net/mac80211/debugfs_sta.c 				   sta->debugfs_dir,
sta               989 net/mac80211/debugfs_sta.c 				   (u64 *)&sta->driver_buffered_tids);
sta               991 net/mac80211/debugfs_sta.c 	drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs_dir);
sta               994 net/mac80211/debugfs_sta.c void ieee80211_sta_debugfs_remove(struct sta_info *sta)
sta               996 net/mac80211/debugfs_sta.c 	debugfs_remove_recursive(sta->debugfs_dir);
sta               997 net/mac80211/debugfs_sta.c 	sta->debugfs_dir = NULL;
sta                 8 net/mac80211/debugfs_sta.h void ieee80211_sta_debugfs_add(struct sta_info *sta);
sta                 9 net/mac80211/debugfs_sta.h void ieee80211_sta_debugfs_remove(struct sta_info *sta);
sta                11 net/mac80211/debugfs_sta.h static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {}
sta                12 net/mac80211/debugfs_sta.h static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {}
sta               109 net/mac80211/driver-ops.c 		  struct sta_info *sta,
sta               121 net/mac80211/driver-ops.c 	trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state);
sta               123 net/mac80211/driver-ops.c 		ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta,
sta               127 net/mac80211/driver-ops.c 		ret = drv_sta_add(local, sdata, &sta->sta);
sta               129 net/mac80211/driver-ops.c 			sta->uploaded = true;
sta               132 net/mac80211/driver-ops.c 		drv_sta_remove(local, sdata, &sta->sta);
sta               141 net/mac80211/driver-ops.c 		      struct sta_info *sta)
sta               151 net/mac80211/driver-ops.c 	trace_drv_sta_set_txpwr(local, sdata, &sta->sta);
sta               154 net/mac80211/driver-ops.c 						&sta->sta);
sta               161 net/mac80211/driver-ops.c 		       struct ieee80211_sta *sta, u32 changed)
sta               171 net/mac80211/driver-ops.c 	trace_drv_sta_rc_update(local, sdata, sta, changed);
sta               174 net/mac80211/driver-ops.c 					  sta, changed);
sta                40 net/mac80211/driver-ops.h 				      struct sta_info *sta)
sta                43 net/mac80211/driver-ops.h 		trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta);
sta               228 net/mac80211/driver-ops.h 			      struct ieee80211_sta *sta, bool set)
sta               231 net/mac80211/driver-ops.h 	trace_drv_set_tim(local, sta, set);
sta               233 net/mac80211/driver-ops.h 		ret = local->ops->set_tim(&local->hw, sta, set);
sta               241 net/mac80211/driver-ops.h 			      struct ieee80211_sta *sta,
sta               252 net/mac80211/driver-ops.h 	trace_drv_set_key(local, cmd, sdata, sta, key);
sta               253 net/mac80211/driver-ops.h 	ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key);
sta               261 net/mac80211/driver-ops.h 				       struct sta_info *sta, u32 iv32,
sta               266 net/mac80211/driver-ops.h 	if (sta)
sta               267 net/mac80211/driver-ops.h 		ista = &sta->sta;
sta               440 net/mac80211/driver-ops.h 				  struct ieee80211_sta *sta)
sta               446 net/mac80211/driver-ops.h 	trace_drv_sta_notify(local, sdata, cmd, sta);
sta               448 net/mac80211/driver-ops.h 		local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta);
sta               454 net/mac80211/driver-ops.h 			      struct ieee80211_sta *sta)
sta               464 net/mac80211/driver-ops.h 	trace_drv_sta_add(local, sdata, sta);
sta               466 net/mac80211/driver-ops.h 		ret = local->ops->sta_add(&local->hw, &sdata->vif, sta);
sta               475 net/mac80211/driver-ops.h 				  struct ieee80211_sta *sta)
sta               483 net/mac80211/driver-ops.h 	trace_drv_sta_remove(local, sdata, sta);
sta               485 net/mac80211/driver-ops.h 		local->ops->sta_remove(&local->hw, &sdata->vif, sta);
sta               493 net/mac80211/driver-ops.h 				       struct ieee80211_sta *sta,
sta               504 net/mac80211/driver-ops.h 					    sta, dir);
sta               510 net/mac80211/driver-ops.h 					  struct sta_info *sta)
sta               518 net/mac80211/driver-ops.h 	trace_drv_sta_pre_rcu_remove(local, sdata, &sta->sta);
sta               521 net/mac80211/driver-ops.h 					       &sta->sta);
sta               528 net/mac80211/driver-ops.h 		  struct sta_info *sta,
sta               535 net/mac80211/driver-ops.h 		      struct sta_info *sta);
sta               539 net/mac80211/driver-ops.h 		       struct ieee80211_sta *sta, u32 changed);
sta               543 net/mac80211/driver-ops.h 					   struct ieee80211_sta *sta)
sta               549 net/mac80211/driver-ops.h 	trace_drv_sta_rate_tbl_update(local, sdata, sta);
sta               551 net/mac80211/driver-ops.h 		local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta);
sta               558 net/mac80211/driver-ops.h 				      struct ieee80211_sta *sta,
sta               565 net/mac80211/driver-ops.h 	trace_drv_sta_statistics(local, sdata, sta);
sta               567 net/mac80211/driver-ops.h 		local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo);
sta               795 net/mac80211/driver-ops.h 			    struct sta_info *sta, u16 tids, int num_frames,
sta               799 net/mac80211/driver-ops.h 	trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames,
sta               802 net/mac80211/driver-ops.h 		local->ops->release_buffered_frames(&local->hw, &sta->sta, tids,
sta               810 net/mac80211/driver-ops.h 			  struct sta_info *sta, u16 tids, int num_frames,
sta               814 net/mac80211/driver-ops.h 	trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames,
sta               817 net/mac80211/driver-ops.h 		local->ops->allow_buffered_frames(&local->hw, &sta->sta,
sta              1121 net/mac80211/driver-ops.h 					      struct sta_info *sta)
sta              1125 net/mac80211/driver-ops.h 	trace_drv_get_expected_throughput(&sta->sta);
sta              1126 net/mac80211/driver-ops.h 	if (local->ops->get_expected_throughput && sta->uploaded)
sta              1127 net/mac80211/driver-ops.h 		ret = local->ops->get_expected_throughput(&local->hw, &sta->sta);
sta              1150 net/mac80211/driver-ops.h 			struct ieee80211_sta *sta, u8 oper_class,
sta              1163 net/mac80211/driver-ops.h 	trace_drv_tdls_channel_switch(local, sdata, sta, oper_class, chandef);
sta              1164 net/mac80211/driver-ops.h 	ret = local->ops->tdls_channel_switch(&local->hw, &sdata->vif, sta,
sta              1174 net/mac80211/driver-ops.h 			       struct ieee80211_sta *sta)
sta              1183 net/mac80211/driver-ops.h 	trace_drv_tdls_cancel_channel_switch(local, sdata, sta);
sta              1184 net/mac80211/driver-ops.h 	local->ops->tdls_cancel_channel_switch(&local->hw, &sdata->vif, sta);
sta                71 net/mac80211/ethtool.c 	struct sta_info *sta;
sta                80 net/mac80211/ethtool.c #define ADD_STA_STATS(sta)					\
sta                82 net/mac80211/ethtool.c 		data[i++] += sta->rx_stats.packets;		\
sta                83 net/mac80211/ethtool.c 		data[i++] += sta->rx_stats.bytes;		\
sta                84 net/mac80211/ethtool.c 		data[i++] += sta->rx_stats.num_duplicates;	\
sta                85 net/mac80211/ethtool.c 		data[i++] += sta->rx_stats.fragments;		\
sta                86 net/mac80211/ethtool.c 		data[i++] += sta->rx_stats.dropped;		\
sta                90 net/mac80211/ethtool.c 		data[i++] += sta->status_stats.filtered;	\
sta                91 net/mac80211/ethtool.c 		data[i++] += sta->status_stats.retry_failed;	\
sta                92 net/mac80211/ethtool.c 		data[i++] += sta->status_stats.retry_count;	\
sta               104 net/mac80211/ethtool.c 		sta = sta_info_get_bss(sdata, sdata->u.mgd.bssid);
sta               106 net/mac80211/ethtool.c 		if (!(sta && !WARN_ON(sta->sdata->dev != dev)))
sta               110 net/mac80211/ethtool.c 		sta_set_sinfo(sta, &sinfo, false);
sta               113 net/mac80211/ethtool.c 		ADD_STA_STATS(sta);
sta               115 net/mac80211/ethtool.c 		data[i++] = sta->sta_state;
sta               131 net/mac80211/ethtool.c 		list_for_each_entry(sta, &local->sta_list, list) {
sta               133 net/mac80211/ethtool.c 			if (sta->sdata->dev != dev)
sta               137 net/mac80211/ethtool.c 			sta_set_sinfo(sta, &sinfo, false);
sta               139 net/mac80211/ethtool.c 			ADD_STA_STATS(sta);
sta                14 net/mac80211/he.c 				  struct sta_info *sta)
sta                16 net/mac80211/he.c 	struct ieee80211_sta_he_cap *he_cap = &sta->sta.he_cap;
sta               140 net/mac80211/ht.c 				       struct sta_info *sta)
sta               241 net/mac80211/ht.c 		sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935;
sta               243 net/mac80211/ht.c 		sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839;
sta               246 net/mac80211/ht.c 	changed = memcmp(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap));
sta               248 net/mac80211/ht.c 	memcpy(&sta->sta.ht_cap, &ht_cap, sizeof(ht_cap));
sta               267 net/mac80211/ht.c 	sta->sta.bandwidth = bw;
sta               269 net/mac80211/ht.c 	sta->cur_max_bandwidth =
sta               287 net/mac80211/ht.c 	if (smps_mode != sta->sta.smps_mode)
sta               289 net/mac80211/ht.c 	sta->sta.smps_mode = smps_mode;
sta               294 net/mac80211/ht.c void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta,
sta               299 net/mac80211/ht.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               301 net/mac80211/ht.c 		___ieee80211_stop_rx_ba_session(sta, i, WLAN_BACK_RECIPIENT,
sta               307 net/mac80211/ht.c 		___ieee80211_stop_tx_ba_session(sta, i, reason);
sta               308 net/mac80211/ht.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               316 net/mac80211/ht.c 		cancel_work_sync(&sta->ampdu_mlme.work);
sta               318 net/mac80211/ht.c 		mutex_lock(&sta->ampdu_mlme.mtx);
sta               321 net/mac80211/ht.c 				rcu_dereference_protected_tid_tx(sta, i);
sta               327 net/mac80211/ht.c 				ieee80211_stop_tx_ba_cb(sta, i, tid_tx);
sta               329 net/mac80211/ht.c 		mutex_unlock(&sta->ampdu_mlme.mtx);
sta               335 net/mac80211/ht.c 	struct sta_info *sta =
sta               342 net/mac80211/ht.c 	blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               344 net/mac80211/ht.c 	mutex_lock(&sta->ampdu_mlme.mtx);
sta               346 net/mac80211/ht.c 		if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired))
sta               348 net/mac80211/ht.c 				sta, tid, WLAN_BACK_RECIPIENT,
sta               352 net/mac80211/ht.c 				       sta->ampdu_mlme.tid_rx_stop_requested))
sta               354 net/mac80211/ht.c 				sta, tid, WLAN_BACK_RECIPIENT,
sta               359 net/mac80211/ht.c 				       sta->ampdu_mlme.tid_rx_manage_offl))
sta               360 net/mac80211/ht.c 			___ieee80211_start_rx_ba_session(sta, 0, 0, 0, 1, tid,
sta               365 net/mac80211/ht.c 				       sta->ampdu_mlme.tid_rx_manage_offl))
sta               367 net/mac80211/ht.c 				sta, tid, WLAN_BACK_RECIPIENT,
sta               370 net/mac80211/ht.c 		spin_lock_bh(&sta->lock);
sta               372 net/mac80211/ht.c 		tid_tx = sta->ampdu_mlme.tid_start_tx[tid];
sta               379 net/mac80211/ht.c 			sta->ampdu_mlme.tid_start_tx[tid] = NULL;
sta               381 net/mac80211/ht.c 			if (sta->ampdu_mlme.tid_tx[tid])
sta               384 net/mac80211/ht.c 				ieee80211_assign_tid_tx(sta, tid, tid_tx);
sta               385 net/mac80211/ht.c 			spin_unlock_bh(&sta->lock);
sta               387 net/mac80211/ht.c 			ieee80211_tx_ba_session_handle_start(sta, tid);
sta               390 net/mac80211/ht.c 		spin_unlock_bh(&sta->lock);
sta               392 net/mac80211/ht.c 		tid_tx = rcu_dereference_protected_tid_tx(sta, tid);
sta               398 net/mac80211/ht.c 			ieee80211_start_tx_ba_cb(sta, tid, tid_tx);
sta               400 net/mac80211/ht.c 			___ieee80211_stop_tx_ba_session(sta, tid,
sta               403 net/mac80211/ht.c 			ieee80211_stop_tx_ba_cb(sta, tid, tid_tx);
sta               405 net/mac80211/ht.c 	mutex_unlock(&sta->ampdu_mlme.mtx);
sta               451 net/mac80211/ht.c 			     struct sta_info *sta,
sta               467 net/mac80211/ht.c 		__ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_INITIATOR, 0,
sta               470 net/mac80211/ht.c 		__ieee80211_stop_tx_ba_session(sta, tid, AGG_STOP_PEER_REQUEST);
sta               579 net/mac80211/ibss.c static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta)
sta               582 net/mac80211/ibss.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               585 net/mac80211/ibss.c 	memcpy(addr, sta->sta.addr, ETH_ALEN);
sta               589 net/mac80211/ibss.c 	sta_info_pre_move_state(sta, IEEE80211_STA_AUTH);
sta               590 net/mac80211/ibss.c 	sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC);
sta               593 net/mac80211/ibss.c 	if (!sta->sdata->u.ibss.control_port)
sta               594 net/mac80211/ibss.c 		sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta               596 net/mac80211/ibss.c 	rate_control_rate_init(sta);
sta               599 net/mac80211/ibss.c 	if (sta_info_insert_rcu(sta))
sta               601 net/mac80211/ibss.c 	return sta;
sta               611 net/mac80211/ibss.c 	struct sta_info *sta;
sta               646 net/mac80211/ibss.c 	sta = sta_info_alloc(sdata, addr, GFP_KERNEL);
sta               647 net/mac80211/ibss.c 	if (!sta) {
sta               654 net/mac80211/ibss.c 	sta->sta.supp_rates[band] = supp_rates |
sta               657 net/mac80211/ibss.c 	return ieee80211_ibss_finish_sta(sta);
sta               664 net/mac80211/ibss.c 	struct sta_info *sta;
sta               670 net/mac80211/ibss.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               671 net/mac80211/ibss.c 		unsigned long last_active = ieee80211_sta_last_active(sta);
sta               673 net/mac80211/ibss.c 		if (sta->sdata == sdata &&
sta               692 net/mac80211/ibss.c 	struct sta_info *sta;
sta               713 net/mac80211/ibss.c 		sta = list_first_entry(&ifibss->incomplete_stations,
sta               715 net/mac80211/ibss.c 		list_del(&sta->list);
sta               718 net/mac80211/ibss.c 		sta_info_free(local, sta);
sta               990 net/mac80211/ibss.c 	struct sta_info *sta;
sta              1009 net/mac80211/ibss.c 	sta = sta_info_get(sdata, mgmt->sa);
sta              1014 net/mac80211/ibss.c 		if (sta) {
sta              1017 net/mac80211/ibss.c 			prev_rates = sta->sta.supp_rates[band];
sta              1025 net/mac80211/ibss.c 			sta->sta.supp_rates[band] = supp_rates |
sta              1027 net/mac80211/ibss.c 			if (sta->sta.supp_rates[band] != prev_rates) {
sta              1030 net/mac80211/ibss.c 					 sta->sta.addr, prev_rates,
sta              1031 net/mac80211/ibss.c 					 sta->sta.supp_rates[band]);
sta              1036 net/mac80211/ibss.c 			sta = ieee80211_ibss_add_sta(sdata, mgmt->bssid,
sta              1041 net/mac80211/ibss.c 	if (sta && !sta->sta.wme &&
sta              1043 net/mac80211/ibss.c 		sta->sta.wme = true;
sta              1044 net/mac80211/ibss.c 		ieee80211_check_fast_xmit(sta);
sta              1047 net/mac80211/ibss.c 	if (sta && elems->ht_operation && elems->ht_cap_elem &&
sta              1054 net/mac80211/ibss.c 		enum ieee80211_sta_rx_bandwidth bw = sta->sta.bandwidth;
sta              1062 net/mac80211/ibss.c 								   sta);
sta              1069 net/mac80211/ibss.c 			struct ieee80211_sta_vht_cap cap = sta->sta.vht_cap;
sta              1077 net/mac80211/ibss.c 							    &cap_ie, sta);
sta              1078 net/mac80211/ibss.c 			if (memcmp(&cap, &sta->sta.vht_cap, sizeof(cap)))
sta              1082 net/mac80211/ibss.c 		if (bw != sta->sta.bandwidth)
sta              1090 net/mac80211/ibss.c 	if (sta && rates_updated) {
sta              1092 net/mac80211/ibss.c 		u8 rx_nss = sta->sta.rx_nss;
sta              1095 net/mac80211/ibss.c 		sta->sta.rx_nss = 0;
sta              1096 net/mac80211/ibss.c 		rate_control_rate_init(sta);
sta              1097 net/mac80211/ibss.c 		if (sta->sta.rx_nss != rx_nss)
sta              1100 net/mac80211/ibss.c 		drv_sta_rc_update(local, sdata, &sta->sta, changed);
sta              1206 net/mac80211/ibss.c 	struct sta_info *sta;
sta              1238 net/mac80211/ibss.c 	sta = sta_info_alloc(sdata, addr, GFP_ATOMIC);
sta              1239 net/mac80211/ibss.c 	if (!sta)
sta              1244 net/mac80211/ibss.c 	sta->sta.supp_rates[band] = supp_rates |
sta              1248 net/mac80211/ibss.c 	list_add(&sta->list, &ifibss->incomplete_stations);
sta              1257 net/mac80211/ibss.c 	struct sta_info *sta, *tmp;
sta              1263 net/mac80211/ibss.c 	list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
sta              1264 net/mac80211/ibss.c 		unsigned long last_active = ieee80211_sta_last_active(sta);
sta              1266 net/mac80211/ibss.c 		if (sdata != sta->sdata)
sta              1271 net/mac80211/ibss.c 		     sta->sta_state != IEEE80211_STA_AUTHORIZED)) {
sta              1274 net/mac80211/ibss.c 			sta_dbg(sta->sdata, "expiring inactive %sSTA %pM\n",
sta              1275 net/mac80211/ibss.c 				sta->sta_state != IEEE80211_STA_AUTHORIZED ?
sta              1276 net/mac80211/ibss.c 				"not authorized " : "", sta->sta.addr);
sta              1278 net/mac80211/ibss.c 			ieee80211_send_deauth_disassoc(sdata, sta->sta.addr,
sta              1283 net/mac80211/ibss.c 			WARN_ON(__sta_info_destroy(sta));
sta              1680 net/mac80211/ibss.c 	struct sta_info *sta;
sta              1694 net/mac80211/ibss.c 		sta = list_first_entry(&ifibss->incomplete_stations,
sta              1696 net/mac80211/ibss.c 		list_del(&sta->list);
sta              1699 net/mac80211/ibss.c 		ieee80211_ibss_finish_sta(sta);
sta               174 net/mac80211/ieee80211_i.h 	struct sta_info *sta;
sta               223 net/mac80211/ieee80211_i.h 	struct sta_info *sta;
sta               303 net/mac80211/ieee80211_i.h 	struct sta_info *sta;
sta               311 net/mac80211/ieee80211_i.h 	struct sta_info __rcu *sta;
sta              1585 net/mac80211/ieee80211_i.h 	if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta)
sta              1605 net/mac80211/ieee80211_i.h void ieee80211_check_fast_rx(struct sta_info *sta);
sta              1608 net/mac80211/ieee80211_i.h void ieee80211_clear_fast_rx(struct sta_info *sta);
sta              1775 net/mac80211/ieee80211_i.h void ieee80211_check_fast_xmit(struct sta_info *sta);
sta              1778 net/mac80211/ieee80211_i.h void ieee80211_clear_fast_xmit(struct sta_info *sta);
sta              1791 net/mac80211/ieee80211_i.h 				       struct sta_info *sta);
sta              1803 net/mac80211/ieee80211_i.h void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
sta              1805 net/mac80211/ieee80211_i.h void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
sta              1807 net/mac80211/ieee80211_i.h void ___ieee80211_start_rx_ba_session(struct sta_info *sta,
sta              1812 net/mac80211/ieee80211_i.h void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta,
sta              1815 net/mac80211/ieee80211_i.h 			     struct sta_info *sta,
sta              1818 net/mac80211/ieee80211_i.h 				  struct sta_info *sta,
sta              1822 net/mac80211/ieee80211_i.h 				     struct sta_info *sta,
sta              1826 net/mac80211/ieee80211_i.h int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
sta              1828 net/mac80211/ieee80211_i.h int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
sta              1830 net/mac80211/ieee80211_i.h void ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid,
sta              1832 net/mac80211/ieee80211_i.h void ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid,
sta              1835 net/mac80211/ieee80211_i.h void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid);
sta              1836 net/mac80211/ieee80211_i.h void ieee80211_release_reorder_timeout(struct sta_info *sta, int tid);
sta              1847 net/mac80211/ieee80211_i.h 				    struct sta_info *sta);
sta              1848 net/mac80211/ieee80211_i.h enum ieee80211_sta_rx_bandwidth ieee80211_sta_cap_rx_bw(struct sta_info *sta);
sta              1849 net/mac80211/ieee80211_i.h enum ieee80211_sta_rx_bandwidth ieee80211_sta_cur_vht_bw(struct sta_info *sta);
sta              1850 net/mac80211/ieee80211_i.h void ieee80211_sta_set_rx_nss(struct sta_info *sta);
sta              1853 net/mac80211/ieee80211_i.h enum nl80211_chan_width ieee80211_sta_cap_chan_bw(struct sta_info *sta);
sta              1854 net/mac80211/ieee80211_i.h void ieee80211_sta_set_rx_nss(struct sta_info *sta);
sta              1858 net/mac80211/ieee80211_i.h                                   struct sta_info *sta, u8 opmode,
sta              1861 net/mac80211/ieee80211_i.h 				 struct sta_info *sta, u8 opmode,
sta              1868 net/mac80211/ieee80211_i.h ieee80211_sta_rx_bw_to_chan_width(struct sta_info *sta);
sta              1875 net/mac80211/ieee80211_i.h 				  struct sta_info *sta);
sta              1940 net/mac80211/ieee80211_i.h 		    struct sta_info *sta, struct sk_buff *skb,
sta              2087 net/mac80211/ieee80211_i.h 			struct sta_info *sta,
sta              2225 net/mac80211/ieee80211_i.h enum nl80211_chan_width ieee80211_get_sta_bw(struct ieee80211_sta *sta);
sta               494 net/mac80211/iface.c 	struct sta_info *sta;
sta               682 net/mac80211/iface.c 		sta = sta_info_alloc(sdata, sdata->u.wds.remote_addr,
sta               684 net/mac80211/iface.c 		if (!sta) {
sta               689 net/mac80211/iface.c 		sta_info_pre_move_state(sta, IEEE80211_STA_AUTH);
sta               690 net/mac80211/iface.c 		sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC);
sta               691 net/mac80211/iface.c 		sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta               693 net/mac80211/iface.c 		res = sta_info_insert(sta);
sta               699 net/mac80211/iface.c 		rate_control_rate_init(sta);
sta              1234 net/mac80211/iface.c 	struct sta_info *sta;
sta              1254 net/mac80211/iface.c 			sta = sta_info_get_bss(sdata, mgmt->sa);
sta              1255 net/mac80211/iface.c 			if (sta) {
sta              1259 net/mac80211/iface.c 							local, sta, mgmt, len);
sta              1262 net/mac80211/iface.c 					ieee80211_process_addba_resp(local, sta,
sta              1266 net/mac80211/iface.c 					ieee80211_process_delba(sdata, sta,
sta              1288 net/mac80211/iface.c 				sta = sta_info_get_bss(sdata, mgmt->sa);
sta              1290 net/mac80211/iface.c 				if (sta)
sta              1291 net/mac80211/iface.c 					ieee80211_vht_handle_opmode(sdata, sta,
sta              1325 net/mac80211/iface.c 			sta = sta_info_get_bss(sdata, mgmt->sa);
sta              1326 net/mac80211/iface.c 			if (sta) {
sta              1330 net/mac80211/iface.c 					sta, tid, WLAN_BACK_RECIPIENT,
sta               128 net/mac80211/key.c 	struct sta_info *sta;
sta               156 net/mac80211/key.c 	sta = key->sta;
sta               162 net/mac80211/key.c 	if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) &&
sta               166 net/mac80211/key.c 	if (sta && !sta->uploaded)
sta               181 net/mac80211/key.c 			  sta ? &sta->sta : NULL, &key->conf);
sta               204 net/mac80211/key.c 			  sta ? sta->sta.addr : bcast_addr, ret);
sta               233 net/mac80211/key.c 	struct sta_info *sta;
sta               246 net/mac80211/key.c 	sta = key->sta;
sta               256 net/mac80211/key.c 			  sta ? &sta->sta : NULL, &key->conf);
sta               262 net/mac80211/key.c 			  sta ? sta->sta.addr : bcast_addr, ret);
sta               267 net/mac80211/key.c 	struct sta_info *sta = key->sta;
sta               272 net/mac80211/key.c 	set_sta_flag(sta, WLAN_STA_USES_ENCRYPTION);
sta               274 net/mac80211/key.c 	sta->ptk_idx = key->conf.keyidx;
sta               277 net/mac80211/key.c 		clear_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               278 net/mac80211/key.c 	ieee80211_check_fast_xmit(sta);
sta               292 net/mac80211/key.c 	struct sta_info *sta = new->sta;
sta               300 net/mac80211/key.c 		if (sta->ptk_idx != INVALID_PTK_KEYIDX &&
sta               311 net/mac80211/key.c 			set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               312 net/mac80211/key.c 			mutex_lock(&sta->ampdu_mlme.mtx);
sta               314 net/mac80211/key.c 				___ieee80211_stop_tx_ba_session(sta, i,
sta               316 net/mac80211/key.c 			mutex_unlock(&sta->ampdu_mlme.mtx);
sta               329 net/mac80211/key.c 		ieee80211_clear_fast_xmit(sta);
sta               331 net/mac80211/key.c 			set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               332 net/mac80211/key.c 			ieee80211_sta_tear_down_BA_sessions(sta,
sta               338 net/mac80211/key.c 					    sta->sta.addr);
sta               403 net/mac80211/key.c 				  struct sta_info *sta,
sta               421 net/mac80211/key.c 	if (new && sta && pairwise) {
sta               447 net/mac80211/key.c 	if (sta) {
sta               449 net/mac80211/key.c 			rcu_assign_pointer(sta->ptk[idx], new);
sta               454 net/mac80211/key.c 			rcu_assign_pointer(sta->gtk[idx], new);
sta               461 net/mac80211/key.c 			ieee80211_check_fast_rx(sta);
sta               765 net/mac80211/key.c 		       struct sta_info *sta)
sta               780 net/mac80211/key.c 	if (sta && pairwise) {
sta               783 net/mac80211/key.c 		old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]);
sta               784 net/mac80211/key.c 		alt_key = key_mtx_dereference(sdata->local, sta->ptk[idx ^ 1]);
sta               792 net/mac80211/key.c 	} else if (sta) {
sta               793 net/mac80211/key.c 		old_key = key_mtx_dereference(sdata->local, sta->gtk[idx]);
sta               816 net/mac80211/key.c 	key->sta = sta;
sta               820 net/mac80211/key.c 	ret = ieee80211_key_replace(sdata, sta, pairwise, old_key, key);
sta               844 net/mac80211/key.c 		ieee80211_key_replace(key->sdata, key->sta,
sta               883 net/mac80211/key.c 				      struct ieee80211_sta *sta,
sta               899 net/mac80211/key.c 			     key->sta ? &key->sta->sta : NULL,
sta               906 net/mac80211/key.c 				     key->sta ? &key->sta->sta : NULL,
sta               918 net/mac80211/key.c 				      struct ieee80211_sta *sta,
sta               927 net/mac80211/key.c 		if (key->sta && key->sta->removed)
sta               933 net/mac80211/key.c 		     key->sta ? &key->sta->sta : NULL,
sta               942 net/mac80211/key.c 					  struct ieee80211_sta *sta,
sta               972 net/mac80211/key.c 		ieee80211_key_replace(key->sdata, key->sta,
sta              1030 net/mac80211/key.c 			     struct sta_info *sta)
sta              1036 net/mac80211/key.c 	for (i = 0; i < ARRAY_SIZE(sta->gtk); i++) {
sta              1037 net/mac80211/key.c 		key = key_mtx_dereference(local, sta->gtk[i]);
sta              1040 net/mac80211/key.c 		ieee80211_key_replace(key->sdata, key->sta,
sta              1048 net/mac80211/key.c 		key = key_mtx_dereference(local, sta->ptk[i]);
sta              1051 net/mac80211/key.c 		ieee80211_key_replace(key->sdata, key->sta,
sta                61 net/mac80211/key.h 	struct sta_info *sta;
sta               148 net/mac80211/key.h 		       struct sta_info *sta);
sta               159 net/mac80211/key.h 			     struct sta_info *sta);
sta               154 net/mac80211/mesh.c void mesh_sta_cleanup(struct sta_info *sta)
sta               156 net/mac80211/mesh.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               157 net/mac80211/mesh.c 	u32 changed = mesh_plink_deactivate(sta);
sta               229 net/mac80211/mesh.h 			      struct sta_info *sta,
sta               243 net/mac80211/mesh.h u32 ieee80211_mps_set_sta_local_pm(struct sta_info *sta,
sta               246 net/mac80211/mesh.h 				   struct sta_info *sta,
sta               248 net/mac80211/mesh.h void ieee80211_mps_sta_status_update(struct sta_info *sta);
sta               249 net/mac80211/mesh.h void ieee80211_mps_rx_h_sta_process(struct sta_info *sta,
sta               251 net/mac80211/mesh.h void ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta,
sta               253 net/mac80211/mesh.h void ieee80211_mps_frame_release(struct sta_info *sta,
sta               283 net/mac80211/mesh.h 			    struct sta_info *sta);
sta               292 net/mac80211/mesh.h void mesh_plink_broken(struct sta_info *sta);
sta               293 net/mac80211/mesh.h u32 mesh_plink_deactivate(struct sta_info *sta);
sta               294 net/mac80211/mesh.h u32 mesh_plink_open(struct sta_info *sta);
sta               295 net/mac80211/mesh.h u32 mesh_plink_block(struct sta_info *sta);
sta               299 net/mac80211/mesh.h void mesh_sta_cleanup(struct sta_info *sta);
sta               306 net/mac80211/mesh.h void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
sta               313 net/mac80211/mesh.h void mesh_path_flush_by_nexthop(struct sta_info *sta);
sta               296 net/mac80211/mesh_hwmp.c 			      struct sta_info *sta,
sta               308 net/mac80211/mesh_hwmp.c 	ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100);
sta               309 net/mac80211/mesh_hwmp.c 	if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) >
sta               311 net/mac80211/mesh_hwmp.c 		mesh_plink_broken(sta);
sta               313 net/mac80211/mesh_hwmp.c 	sta_set_rate_info_tx(sta, &sta->tx_stats.last_rate, &rinfo);
sta               314 net/mac80211/mesh_hwmp.c 	ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg,
sta               319 net/mac80211/mesh_hwmp.c 			    struct sta_info *sta)
sta               329 net/mac80211/mesh_hwmp.c 		ewma_mesh_fail_avg_read(&sta->mesh->fail_avg);
sta               331 net/mac80211/mesh_hwmp.c 	if (sta->mesh->plink_state != NL80211_PLINK_ESTAB)
sta               339 net/mac80211/mesh_hwmp.c 	rate = DIV_ROUND_UP(sta_get_expected_throughput(sta), 100);
sta               347 net/mac80211/mesh_hwmp.c 		rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg);
sta               386 net/mac80211/mesh_hwmp.c 	struct sta_info *sta;
sta               396 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
sta               397 net/mac80211/mesh_hwmp.c 	if (!sta) {
sta               402 net/mac80211/mesh_hwmp.c 	last_hop_metric = airtime_link_metric_get(local, sta);
sta               452 net/mac80211/mesh_hwmp.c 						      sta ?
sta               489 net/mac80211/mesh_hwmp.c 			if (rcu_access_pointer(mpath->next_hop) != sta)
sta               491 net/mac80211/mesh_hwmp.c 			mesh_path_assign_nexthop(mpath, sta);
sta               500 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
sta               502 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
sta               523 net/mac80211/mesh_hwmp.c 			     ((rcu_access_pointer(mpath->next_hop) != sta ?
sta               537 net/mac80211/mesh_hwmp.c 			if (rcu_access_pointer(mpath->next_hop) != sta)
sta               539 net/mac80211/mesh_hwmp.c 			mesh_path_assign_nexthop(mpath, sta);
sta               546 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
sta               548 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
sta               733 net/mac80211/mesh_hwmp.c 	memcpy(next_hop, next_hop_deref_protected(mpath)->sta.addr, ETH_ALEN);
sta               782 net/mac80211/mesh_hwmp.c 		struct sta_info *sta;
sta               785 net/mac80211/mesh_hwmp.c 		sta = next_hop_deref_protected(mpath);
sta               787 net/mac80211/mesh_hwmp.c 		    ether_addr_equal(ta, sta->sta.addr) &&
sta               815 net/mac80211/mesh_hwmp.c 	struct sta_info *sta;
sta               841 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
sta               842 net/mac80211/mesh_hwmp.c 	if (!sta) {
sta               847 net/mac80211/mesh_hwmp.c 	last_hop_metric = airtime_link_metric_get(local, sta);
sta               914 net/mac80211/mesh_hwmp.c 	struct sta_info *sta;
sta               921 net/mac80211/mesh_hwmp.c 	sta = sta_info_get(sdata, mgmt->sa);
sta               922 net/mac80211/mesh_hwmp.c 	if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
sta              1210 net/mac80211/mesh_hwmp.c 		memcpy(hdr->addr1, next_hop->sta.addr, ETH_ALEN);
sta                83 net/mac80211/mesh_pathtbl.c void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta)
sta                89 net/mac80211/mesh_pathtbl.c 	rcu_assign_pointer(mpath->next_hop, sta);
sta                94 net/mac80211/mesh_pathtbl.c 		memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN);
sta                96 net/mac80211/mesh_pathtbl.c 		ieee80211_mps_set_frame_flags(sta->sdata, sta, hdr);
sta               135 net/mac80211/mesh_pathtbl.c 	next_hop = rcu_dereference(gate_mpath->next_hop)->sta.addr;
sta               487 net/mac80211/mesh_pathtbl.c void mesh_plink_broken(struct sta_info *sta)
sta               489 net/mac80211/mesh_pathtbl.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               496 net/mac80211/mesh_pathtbl.c 		if (rcu_access_pointer(mpath->next_hop) == sta &&
sta               545 net/mac80211/mesh_pathtbl.c void mesh_path_flush_by_nexthop(struct sta_info *sta)
sta               547 net/mac80211/mesh_pathtbl.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               554 net/mac80211/mesh_pathtbl.c 		if (rcu_access_pointer(mpath->next_hop) == sta)
sta                59 net/mac80211/mesh_plink.c 				 struct sta_info *sta)
sta                63 net/mac80211/mesh_plink.c 	       (sta &&
sta                64 net/mac80211/mesh_plink.c 		(s8)-ewma_signal_read(&sta->rx_stats_avg.signal) >
sta                75 net/mac80211/mesh_plink.c static inline void mesh_plink_fsm_restart(struct sta_info *sta)
sta                77 net/mac80211/mesh_plink.c 	lockdep_assert_held(&sta->mesh->plink_lock);
sta                78 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_LISTEN;
sta                79 net/mac80211/mesh_plink.c 	sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0;
sta                80 net/mac80211/mesh_plink.c 	sta->mesh->plink_retries = 0;
sta                97 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               122 net/mac80211/mesh_plink.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               123 net/mac80211/mesh_plink.c 		if (sdata != sta->sdata ||
sta               124 net/mac80211/mesh_plink.c 		    sta->mesh->plink_state != NL80211_PLINK_ESTAB)
sta               128 net/mac80211/mesh_plink.c 		if (erp_rates & sta->sta.supp_rates[sband->band])
sta               158 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               172 net/mac80211/mesh_plink.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               173 net/mac80211/mesh_plink.c 		if (sdata != sta->sdata ||
sta               174 net/mac80211/mesh_plink.c 		    sta->mesh->plink_state != NL80211_PLINK_ESTAB)
sta               177 net/mac80211/mesh_plink.c 		if (sta->sta.bandwidth > IEEE80211_STA_RX_BW_20)
sta               180 net/mac80211/mesh_plink.c 		if (!sta->sta.ht_cap.ht_supported) {
sta               182 net/mac80211/mesh_plink.c 				       sta->sta.addr);
sta               187 net/mac80211/mesh_plink.c 		mpl_dbg(sdata, "HT20 sta (%pM) is present\n", sta->sta.addr);
sta               210 net/mac80211/mesh_plink.c 			       struct sta_info *sta,
sta               272 net/mac80211/mesh_plink.c 			put_unaligned_le16(sta->sta.aid, pos);
sta               357 net/mac80211/mesh_plink.c static u32 __mesh_plink_deactivate(struct sta_info *sta)
sta               359 net/mac80211/mesh_plink.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               362 net/mac80211/mesh_plink.c 	lockdep_assert_held(&sta->mesh->plink_lock);
sta               364 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta               366 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_BLOCKED;
sta               368 net/mac80211/mesh_plink.c 	ieee80211_mps_sta_status_update(sta);
sta               369 net/mac80211/mesh_plink.c 	changed |= ieee80211_mps_set_sta_local_pm(sta,
sta               382 net/mac80211/mesh_plink.c u32 mesh_plink_deactivate(struct sta_info *sta)
sta               384 net/mac80211/mesh_plink.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               387 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               388 net/mac80211/mesh_plink.c 	changed = __mesh_plink_deactivate(sta);
sta               391 net/mac80211/mesh_plink.c 		sta->mesh->reason = WLAN_REASON_MESH_PEER_CANCELED;
sta               392 net/mac80211/mesh_plink.c 		mesh_plink_frame_tx(sdata, sta, WLAN_SP_MESH_PEERING_CLOSE,
sta               393 net/mac80211/mesh_plink.c 				    sta->sta.addr, sta->mesh->llid,
sta               394 net/mac80211/mesh_plink.c 				    sta->mesh->plid, sta->mesh->reason);
sta               396 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               398 net/mac80211/mesh_plink.c 		del_timer_sync(&sta->mesh->plink_timer);
sta               399 net/mac80211/mesh_plink.c 	mesh_path_flush_by_nexthop(sta);
sta               408 net/mac80211/mesh_plink.c 			       struct sta_info *sta,
sta               414 net/mac80211/mesh_plink.c 	enum ieee80211_sta_rx_bandwidth bw = sta->sta.bandwidth;
sta               423 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               424 net/mac80211/mesh_plink.c 	sta->rx_stats.last_rx = jiffies;
sta               427 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB &&
sta               428 net/mac80211/mesh_plink.c 	    sta->mesh->processed_beacon)
sta               430 net/mac80211/mesh_plink.c 	sta->mesh->processed_beacon = true;
sta               432 net/mac80211/mesh_plink.c 	if (sta->sta.supp_rates[sband->band] != rates)
sta               434 net/mac80211/mesh_plink.c 	sta->sta.supp_rates[sband->band] = rates;
sta               437 net/mac80211/mesh_plink.c 					      elems->ht_cap_elem, sta))
sta               441 net/mac80211/mesh_plink.c 					    elems->vht_cap_elem, sta);
sta               444 net/mac80211/mesh_plink.c 					  elems->he_cap_len, sta);
sta               446 net/mac80211/mesh_plink.c 	if (bw != sta->sta.bandwidth)
sta               453 net/mac80211/mesh_plink.c 		if (sta->sta.bandwidth != IEEE80211_STA_RX_BW_20)
sta               455 net/mac80211/mesh_plink.c 		sta->sta.bandwidth = IEEE80211_STA_RX_BW_20;
sta               458 net/mac80211/mesh_plink.c 	if (!test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
sta               459 net/mac80211/mesh_plink.c 		rate_control_rate_init(sta);
sta               461 net/mac80211/mesh_plink.c 		rate_control_rate_update(local, sband, sta, changed);
sta               463 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               468 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               481 net/mac80211/mesh_plink.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list)
sta               482 net/mac80211/mesh_plink.c 		__set_bit(sta->sta.aid, aid_map);
sta               497 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               507 net/mac80211/mesh_plink.c 	sta = sta_info_alloc(sdata, hw_addr, GFP_KERNEL);
sta               508 net/mac80211/mesh_plink.c 	if (!sta)
sta               511 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_LISTEN;
sta               512 net/mac80211/mesh_plink.c 	sta->sta.wme = true;
sta               513 net/mac80211/mesh_plink.c 	sta->sta.aid = aid;
sta               515 net/mac80211/mesh_plink.c 	sta_info_pre_move_state(sta, IEEE80211_STA_AUTH);
sta               516 net/mac80211/mesh_plink.c 	sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC);
sta               517 net/mac80211/mesh_plink.c 	sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta               519 net/mac80211/mesh_plink.c 	return sta;
sta               527 net/mac80211/mesh_plink.c 	struct sta_info *sta = NULL;
sta               545 net/mac80211/mesh_plink.c 		sta = __mesh_sta_info_alloc(sdata, addr);
sta               547 net/mac80211/mesh_plink.c 	return sta;
sta               566 net/mac80211/mesh_plink.c 	struct sta_info *sta = NULL;
sta               569 net/mac80211/mesh_plink.c 	sta = sta_info_get(sdata, addr);
sta               570 net/mac80211/mesh_plink.c 	if (sta) {
sta               571 net/mac80211/mesh_plink.c 		mesh_sta_info_init(sdata, sta, elems);
sta               575 net/mac80211/mesh_plink.c 		sta = mesh_sta_info_alloc(sdata, addr, elems, rx_status);
sta               576 net/mac80211/mesh_plink.c 		if (!sta) {
sta               581 net/mac80211/mesh_plink.c 		mesh_sta_info_init(sdata, sta, elems);
sta               583 net/mac80211/mesh_plink.c 		if (sta_info_insert_rcu(sta))
sta               587 net/mac80211/mesh_plink.c 	return sta;
sta               605 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               608 net/mac80211/mesh_plink.c 	sta = mesh_sta_info_get(sdata, hw_addr, elems, rx_status);
sta               609 net/mac80211/mesh_plink.c 	if (!sta)
sta               612 net/mac80211/mesh_plink.c 	sta->mesh->connected_to_gate = elems->mesh_config->meshconf_form &
sta               616 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state == NL80211_PLINK_LISTEN &&
sta               619 net/mac80211/mesh_plink.c 	    rssi_threshold_check(sdata, sta))
sta               620 net/mac80211/mesh_plink.c 		changed = mesh_plink_open(sta);
sta               622 net/mac80211/mesh_plink.c 	ieee80211_mps_frame_release(sta, elems);
sta               631 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               642 net/mac80211/mesh_plink.c 	sta = mesh->plink_sta;
sta               644 net/mac80211/mesh_plink.c 	if (sta->sdata->local->quiescing)
sta               647 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               654 net/mac80211/mesh_plink.c 	if (time_before(jiffies, sta->mesh->plink_timer.expires)) {
sta               655 net/mac80211/mesh_plink.c 		mpl_dbg(sta->sdata,
sta               657 net/mac80211/mesh_plink.c 			sta->sta.addr, mplstates[sta->mesh->plink_state]);
sta               658 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
sta               663 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_LISTEN ||
sta               664 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state == NL80211_PLINK_ESTAB) {
sta               665 net/mac80211/mesh_plink.c 		mpl_dbg(sta->sdata,
sta               667 net/mac80211/mesh_plink.c 			sta->sta.addr, mplstates[sta->mesh->plink_state]);
sta               668 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
sta               672 net/mac80211/mesh_plink.c 	mpl_dbg(sta->sdata,
sta               674 net/mac80211/mesh_plink.c 		sta->sta.addr, mplstates[sta->mesh->plink_state]);
sta               675 net/mac80211/mesh_plink.c 	sdata = sta->sdata;
sta               678 net/mac80211/mesh_plink.c 	switch (sta->mesh->plink_state) {
sta               682 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_retries < mshcfg->dot11MeshMaxRetries) {
sta               684 net/mac80211/mesh_plink.c 			mpl_dbg(sta->sdata,
sta               686 net/mac80211/mesh_plink.c 				sta->sta.addr, sta->mesh->plink_retries,
sta               687 net/mac80211/mesh_plink.c 				sta->mesh->plink_timeout);
sta               689 net/mac80211/mesh_plink.c 			sta->mesh->plink_timeout = sta->mesh->plink_timeout +
sta               690 net/mac80211/mesh_plink.c 					     rand % sta->mesh->plink_timeout;
sta               691 net/mac80211/mesh_plink.c 			++sta->mesh->plink_retries;
sta               692 net/mac80211/mesh_plink.c 			mod_plink_timer(sta, sta->mesh->plink_timeout);
sta               702 net/mac80211/mesh_plink.c 		sta->mesh->plink_state = NL80211_PLINK_HOLDING;
sta               703 net/mac80211/mesh_plink.c 		mod_plink_timer(sta, mshcfg->dot11MeshHoldingTimeout);
sta               708 net/mac80211/mesh_plink.c 		del_timer(&sta->mesh->plink_timer);
sta               709 net/mac80211/mesh_plink.c 		mesh_plink_fsm_restart(sta);
sta               714 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               716 net/mac80211/mesh_plink.c 		mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr,
sta               717 net/mac80211/mesh_plink.c 				    sta->mesh->llid, sta->mesh->plid, reason);
sta               720 net/mac80211/mesh_plink.c static inline void mesh_plink_timer_set(struct sta_info *sta, u32 timeout)
sta               722 net/mac80211/mesh_plink.c 	sta->mesh->plink_timeout = timeout;
sta               723 net/mac80211/mesh_plink.c 	mod_timer(&sta->mesh->plink_timer, jiffies + msecs_to_jiffies(timeout));
sta               731 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta               734 net/mac80211/mesh_plink.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               735 net/mac80211/mesh_plink.c 		if (sdata != sta->sdata)
sta               738 net/mac80211/mesh_plink.c 		if (!memcmp(&sta->mesh->llid, &llid, sizeof(llid))) {
sta               759 net/mac80211/mesh_plink.c u32 mesh_plink_open(struct sta_info *sta)
sta               761 net/mac80211/mesh_plink.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               764 net/mac80211/mesh_plink.c 	if (!test_sta_flag(sta, WLAN_STA_AUTH))
sta               767 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               768 net/mac80211/mesh_plink.c 	sta->mesh->llid = mesh_get_new_llid(sdata);
sta               769 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state != NL80211_PLINK_LISTEN &&
sta               770 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state != NL80211_PLINK_BLOCKED) {
sta               771 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
sta               774 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_OPN_SNT;
sta               775 net/mac80211/mesh_plink.c 	mesh_plink_timer_set(sta, sdata->u.mesh.mshcfg.dot11MeshRetryTimeout);
sta               776 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               779 net/mac80211/mesh_plink.c 		sta->sta.addr);
sta               784 net/mac80211/mesh_plink.c 	mesh_plink_frame_tx(sdata, sta, WLAN_SP_MESH_PEERING_OPEN,
sta               785 net/mac80211/mesh_plink.c 			    sta->sta.addr, sta->mesh->llid, 0, 0);
sta               789 net/mac80211/mesh_plink.c u32 mesh_plink_block(struct sta_info *sta)
sta               793 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               794 net/mac80211/mesh_plink.c 	changed = __mesh_plink_deactivate(sta);
sta               795 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_BLOCKED;
sta               796 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               797 net/mac80211/mesh_plink.c 	mesh_path_flush_by_nexthop(sta);
sta               803 net/mac80211/mesh_plink.c 			     struct sta_info *sta,
sta               810 net/mac80211/mesh_plink.c 	sta->mesh->reason = reason;
sta               811 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_HOLDING;
sta               812 net/mac80211/mesh_plink.c 	mod_plink_timer(sta, mshcfg->dot11MeshHoldingTimeout);
sta               816 net/mac80211/mesh_plink.c 				struct sta_info *sta)
sta               821 net/mac80211/mesh_plink.c 	del_timer(&sta->mesh->plink_timer);
sta               822 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_ESTAB;
sta               826 net/mac80211/mesh_plink.c 	mpl_dbg(sdata, "Mesh plink with %pM ESTABLISHED\n", sta->sta.addr);
sta               827 net/mac80211/mesh_plink.c 	ieee80211_mps_sta_status_update(sta);
sta               828 net/mac80211/mesh_plink.c 	changed |= ieee80211_mps_set_sta_local_pm(sta, mshcfg->power_mode);
sta               842 net/mac80211/mesh_plink.c 			  struct sta_info *sta, enum plink_event event)
sta               849 net/mac80211/mesh_plink.c 	mpl_dbg(sdata, "peer %pM in state %s got event %s\n", sta->sta.addr,
sta               850 net/mac80211/mesh_plink.c 		mplstates[sta->mesh->plink_state], mplevents[event]);
sta               852 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
sta               853 net/mac80211/mesh_plink.c 	switch (sta->mesh->plink_state) {
sta               857 net/mac80211/mesh_plink.c 			mesh_plink_fsm_restart(sta);
sta               860 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_OPN_RCVD;
sta               861 net/mac80211/mesh_plink.c 			sta->mesh->llid = mesh_get_new_llid(sdata);
sta               862 net/mac80211/mesh_plink.c 			mesh_plink_timer_set(sta,
sta               878 net/mac80211/mesh_plink.c 			mesh_plink_close(sdata, sta, event);
sta               883 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_OPN_RCVD;
sta               887 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_CNF_RCVD;
sta               888 net/mac80211/mesh_plink.c 			mod_plink_timer(sta, mshcfg->dot11MeshConfirmTimeout);
sta               899 net/mac80211/mesh_plink.c 			mesh_plink_close(sdata, sta, event);
sta               906 net/mac80211/mesh_plink.c 			changed |= mesh_plink_establish(sdata, sta);
sta               917 net/mac80211/mesh_plink.c 			mesh_plink_close(sdata, sta, event);
sta               921 net/mac80211/mesh_plink.c 			changed |= mesh_plink_establish(sdata, sta);
sta               931 net/mac80211/mesh_plink.c 			changed |= __mesh_plink_deactivate(sta);
sta               934 net/mac80211/mesh_plink.c 			mesh_plink_close(sdata, sta, event);
sta               948 net/mac80211/mesh_plink.c 			del_timer(&sta->mesh->plink_timer);
sta               949 net/mac80211/mesh_plink.c 			mesh_plink_fsm_restart(sta);
sta               967 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
sta               969 net/mac80211/mesh_plink.c 		mesh_path_flush_by_nexthop(sta);
sta               971 net/mac80211/mesh_plink.c 		mesh_plink_frame_tx(sdata, sta, action, sta->sta.addr,
sta               972 net/mac80211/mesh_plink.c 				    sta->mesh->llid, sta->mesh->plid,
sta               973 net/mac80211/mesh_plink.c 				    sta->mesh->reason);
sta               977 net/mac80211/mesh_plink.c 			mesh_plink_frame_tx(sdata, sta,
sta               979 net/mac80211/mesh_plink.c 					    sta->sta.addr, sta->mesh->llid,
sta               980 net/mac80211/mesh_plink.c 					    sta->mesh->plid, 0);
sta              1002 net/mac80211/mesh_plink.c 		     struct sta_info *sta,
sta              1015 net/mac80211/mesh_plink.c 	if (!matches_local && !sta) {
sta              1020 net/mac80211/mesh_plink.c 	if (!sta) {
sta              1035 net/mac80211/mesh_plink.c 		if (!test_sta_flag(sta, WLAN_STA_AUTH)) {
sta              1039 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_state == NL80211_PLINK_BLOCKED)
sta              1048 net/mac80211/mesh_plink.c 		    (sta->mesh->plid && sta->mesh->plid != plid))
sta              1057 net/mac80211/mesh_plink.c 		    sta->mesh->llid != llid ||
sta              1058 net/mac80211/mesh_plink.c 		    (sta->mesh->plid && sta->mesh->plid != plid))
sta              1064 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta              1075 net/mac80211/mesh_plink.c 		else if (sta->mesh->plid != plid)
sta              1077 net/mac80211/mesh_plink.c 		else if (ie_len == 8 && sta->mesh->llid != llid)
sta              1098 net/mac80211/mesh_plink.c 	struct sta_info *sta;
sta              1145 net/mac80211/mesh_plink.c 	sta = sta_info_get(sdata, mgmt->sa);
sta              1148 net/mac80211/mesh_plink.c 	    !rssi_threshold_check(sdata, sta)) {
sta              1155 net/mac80211/mesh_plink.c 	event = mesh_plink_get_event(sdata, sta, elems, ftype, llid, plid);
sta              1160 net/mac80211/mesh_plink.c 		sta = mesh_sta_info_get(sdata, mgmt->sa, elems, rx_status);
sta              1161 net/mac80211/mesh_plink.c 		if (!sta) {
sta              1165 net/mac80211/mesh_plink.c 		sta->mesh->plid = plid;
sta              1166 net/mac80211/mesh_plink.c 	} else if (!sta && event == OPN_RJCT) {
sta              1171 net/mac80211/mesh_plink.c 	} else if (!sta || event == PLINK_UNDEFINED) {
sta              1178 net/mac80211/mesh_plink.c 		if (!sta->mesh->plid)
sta              1179 net/mac80211/mesh_plink.c 			sta->mesh->plid = plid;
sta              1181 net/mac80211/mesh_plink.c 		sta->mesh->aid = get_unaligned_le16(PLINK_CNF_AID(mgmt));
sta              1184 net/mac80211/mesh_plink.c 	changed |= mesh_plink_fsm(sdata, sta, event);
sta                16 net/mac80211/mesh_ps.c static struct sk_buff *mps_qos_null_get(struct sta_info *sta)
sta                18 net/mac80211/mesh_ps.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta                32 net/mac80211/mesh_ps.c 	ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr,
sta                38 net/mac80211/mesh_ps.c 	memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN);
sta                40 net/mac80211/mesh_ps.c 	ieee80211_mps_set_frame_flags(sdata, sta, nullfunc);
sta                48 net/mac80211/mesh_ps.c static void mps_qos_null_tx(struct sta_info *sta)
sta                52 net/mac80211/mesh_ps.c 	skb = mps_qos_null_get(sta);
sta                56 net/mac80211/mesh_ps.c 	mps_dbg(sta->sdata, "announcing peer-specific power mode to %pM\n",
sta                57 net/mac80211/mesh_ps.c 		sta->sta.addr);
sta                60 net/mac80211/mesh_ps.c 	if (!test_sta_flag(sta, WLAN_STA_PS_STA)) {
sta                66 net/mac80211/mesh_ps.c 	ieee80211_tx_skb(sta->sdata, skb);
sta                80 net/mac80211/mesh_ps.c 	struct sta_info *sta;
sta                88 net/mac80211/mesh_ps.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
sta                89 net/mac80211/mesh_ps.c 		if (sdata != sta->sdata)
sta                92 net/mac80211/mesh_ps.c 		switch (sta->mesh->plink_state) {
sta                99 net/mac80211/mesh_ps.c 			if (sta->mesh->local_pm == NL80211_MESH_POWER_LIGHT_SLEEP)
sta               101 net/mac80211/mesh_ps.c 			else if (sta->mesh->local_pm == NL80211_MESH_POWER_DEEP_SLEEP)
sta               148 net/mac80211/mesh_ps.c u32 ieee80211_mps_set_sta_local_pm(struct sta_info *sta,
sta               151 net/mac80211/mesh_ps.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               153 net/mac80211/mesh_ps.c 	if (sta->mesh->local_pm == pm)
sta               157 net/mac80211/mesh_ps.c 		pm, sta->sta.addr);
sta               159 net/mac80211/mesh_ps.c 	sta->mesh->local_pm = pm;
sta               165 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta               166 net/mac80211/mesh_ps.c 		mps_qos_null_tx(sta);
sta               184 net/mac80211/mesh_ps.c 				   struct sta_info *sta,
sta               192 net/mac80211/mesh_ps.c 		    !sta))
sta               197 net/mac80211/mesh_ps.c 	    sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta               198 net/mac80211/mesh_ps.c 		pm = sta->mesh->local_pm;
sta               228 net/mac80211/mesh_ps.c void ieee80211_mps_sta_status_update(struct sta_info *sta)
sta               234 net/mac80211/mesh_ps.c 	if (sta->sta_state < IEEE80211_STA_ASSOC)
sta               241 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB &&
sta               242 net/mac80211/mesh_ps.c 	    sta->mesh->peer_pm != NL80211_MESH_POWER_UNKNOWN)
sta               243 net/mac80211/mesh_ps.c 		pm = sta->mesh->peer_pm;
sta               245 net/mac80211/mesh_ps.c 		pm = sta->mesh->nonpeer_pm;
sta               250 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
sta               251 net/mac80211/mesh_ps.c 		clear_sta_flag(sta, WLAN_STA_MPSP_OWNER);
sta               252 net/mac80211/mesh_ps.c 		clear_sta_flag(sta, WLAN_STA_MPSP_RECIPIENT);
sta               254 net/mac80211/mesh_ps.c 		clear_sta_flag(sta, WLAN_STA_MPSP_OWNER);
sta               258 net/mac80211/mesh_ps.c 	if (test_sta_flag(sta, WLAN_STA_PS_STA) == do_buffer)
sta               262 net/mac80211/mesh_ps.c 		set_sta_flag(sta, WLAN_STA_PS_STA);
sta               263 net/mac80211/mesh_ps.c 		atomic_inc(&sta->sdata->u.mesh.ps.num_sta_ps);
sta               264 net/mac80211/mesh_ps.c 		mps_dbg(sta->sdata, "start PS buffering frames towards %pM\n",
sta               265 net/mac80211/mesh_ps.c 			sta->sta.addr);
sta               267 net/mac80211/mesh_ps.c 		ieee80211_sta_ps_deliver_wakeup(sta);
sta               271 net/mac80211/mesh_ps.c static void mps_set_sta_peer_pm(struct sta_info *sta,
sta               296 net/mac80211/mesh_ps.c 	if (sta->mesh->peer_pm == pm)
sta               299 net/mac80211/mesh_ps.c 	mps_dbg(sta->sdata, "STA %pM enters mode %d\n",
sta               300 net/mac80211/mesh_ps.c 		sta->sta.addr, pm);
sta               302 net/mac80211/mesh_ps.c 	sta->mesh->peer_pm = pm;
sta               304 net/mac80211/mesh_ps.c 	ieee80211_mps_sta_status_update(sta);
sta               307 net/mac80211/mesh_ps.c static void mps_set_sta_nonpeer_pm(struct sta_info *sta,
sta               317 net/mac80211/mesh_ps.c 	if (sta->mesh->nonpeer_pm == pm)
sta               320 net/mac80211/mesh_ps.c 	mps_dbg(sta->sdata, "STA %pM sets non-peer mode to %d\n",
sta               321 net/mac80211/mesh_ps.c 		sta->sta.addr, pm);
sta               323 net/mac80211/mesh_ps.c 	sta->mesh->nonpeer_pm = pm;
sta               325 net/mac80211/mesh_ps.c 	ieee80211_mps_sta_status_update(sta);
sta               334 net/mac80211/mesh_ps.c void ieee80211_mps_rx_h_sta_process(struct sta_info *sta,
sta               343 net/mac80211/mesh_ps.c 		mps_set_sta_peer_pm(sta, hdr);
sta               347 net/mac80211/mesh_ps.c 					       sta, false, false);
sta               353 net/mac80211/mesh_ps.c 		mps_set_sta_nonpeer_pm(sta, hdr);
sta               360 net/mac80211/mesh_ps.c static void mpsp_trigger_send(struct sta_info *sta, bool rspi, bool eosp)
sta               362 net/mac80211/mesh_ps.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               368 net/mac80211/mesh_ps.c 	skb = mps_qos_null_get(sta);
sta               396 net/mac80211/mesh_ps.c 		rspi ? " RSPI" : "", eosp ? " EOSP" : "", sta->sta.addr);
sta               408 net/mac80211/mesh_ps.c static void mpsp_qos_null_append(struct sta_info *sta,
sta               411 net/mac80211/mesh_ps.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               419 net/mac80211/mesh_ps.c 	new_skb = mps_qos_null_get(sta);
sta               424 net/mac80211/mesh_ps.c 		sta->sta.addr);
sta               446 net/mac80211/mesh_ps.c static void mps_frame_deliver(struct sta_info *sta, int n_frames)
sta               448 net/mac80211/mesh_ps.c 	struct ieee80211_local *local = sta->sdata->local;
sta               459 net/mac80211/mesh_ps.c 			skb = skb_dequeue(&sta->tx_filtered[ac]);
sta               462 net/mac80211/mesh_ps.c 					&sta->ps_tx_buf[ac]);
sta               472 net/mac80211/mesh_ps.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
sta               473 net/mac80211/mesh_ps.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
sta               479 net/mac80211/mesh_ps.c 		mpsp_trigger_send(sta, false, true);
sta               484 net/mac80211/mesh_ps.c 	if (test_sta_flag(sta, WLAN_STA_MPSP_OWNER))
sta               485 net/mac80211/mesh_ps.c 		mpsp_qos_null_append(sta, &frames);
sta               487 net/mac80211/mesh_ps.c 	mps_dbg(sta->sdata, "sending %d frames to PS STA %pM\n",
sta               488 net/mac80211/mesh_ps.c 		skb_queue_len(&frames), sta->sta.addr);
sta               520 net/mac80211/mesh_ps.c 	sta_info_recalc_tim(sta);
sta               533 net/mac80211/mesh_ps.c void ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta,
sta               541 net/mac80211/mesh_ps.c 			set_sta_flag(sta, WLAN_STA_MPSP_RECIPIENT);
sta               544 net/mac80211/mesh_ps.c 			clear_sta_flag(sta, WLAN_STA_MPSP_OWNER);
sta               546 net/mac80211/mesh_ps.c 			 test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta               547 net/mac80211/mesh_ps.c 			 !test_and_set_sta_flag(sta, WLAN_STA_MPSP_OWNER))
sta               548 net/mac80211/mesh_ps.c 			mps_frame_deliver(sta, -1);
sta               551 net/mac80211/mesh_ps.c 			clear_sta_flag(sta, WLAN_STA_MPSP_RECIPIENT);
sta               552 net/mac80211/mesh_ps.c 		else if (sta->mesh->local_pm != NL80211_MESH_POWER_ACTIVE)
sta               553 net/mac80211/mesh_ps.c 			set_sta_flag(sta, WLAN_STA_MPSP_RECIPIENT);
sta               555 net/mac80211/mesh_ps.c 		if (rspi && !test_and_set_sta_flag(sta, WLAN_STA_MPSP_OWNER))
sta               556 net/mac80211/mesh_ps.c 			mps_frame_deliver(sta, -1);
sta               571 net/mac80211/mesh_ps.c void ieee80211_mps_frame_release(struct sta_info *sta,
sta               577 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta               579 net/mac80211/mesh_ps.c 						   sta->mesh->aid);
sta               582 net/mac80211/mesh_ps.c 		mps_dbg(sta->sdata, "%pM indicates buffered frames\n",
sta               583 net/mac80211/mesh_ps.c 			sta->sta.addr);
sta               586 net/mac80211/mesh_ps.c 	if (test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta               590 net/mac80211/mesh_ps.c 	if (!test_sta_flag(sta, WLAN_STA_MPSP_OWNER))
sta               592 net/mac80211/mesh_ps.c 			buffer_local += skb_queue_len(&sta->ps_tx_buf[ac]) +
sta               593 net/mac80211/mesh_ps.c 					skb_queue_len(&sta->tx_filtered[ac]);
sta               598 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
sta               599 net/mac80211/mesh_ps.c 		mpsp_trigger_send(sta, has_buffered, !buffer_local);
sta               601 net/mac80211/mesh_ps.c 		mps_frame_deliver(sta, 1);
sta                87 net/mac80211/mesh_sync.c 	struct sta_info *sta;
sta               112 net/mac80211/mesh_sync.c 	sta = sta_info_get(sdata, mgmt->sa);
sta               113 net/mac80211/mesh_sync.c 	if (!sta)
sta               124 net/mac80211/mesh_sync.c 			  sta->sta.addr);
sta               130 net/mac80211/mesh_sync.c 	sta->mesh->t_offset = t_t - t_r;
sta               132 net/mac80211/mesh_sync.c 	if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) {
sta               133 net/mac80211/mesh_sync.c 		s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset;
sta               136 net/mac80211/mesh_sync.c 			  sta->sta.addr, (long long) sta->mesh->t_offset,
sta               137 net/mac80211/mesh_sync.c 			  (long long) sta->mesh->t_offset_setpoint,
sta               144 net/mac80211/mesh_sync.c 				  sta->sta.addr,
sta               146 net/mac80211/mesh_sync.c 			clear_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN);
sta               155 net/mac80211/mesh_sync.c 		sta->mesh->t_offset_setpoint = sta->mesh->t_offset - TOFFSET_SET_MARGIN;
sta               156 net/mac80211/mesh_sync.c 		set_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN);
sta               159 net/mac80211/mesh_sync.c 			  sta->sta.addr,
sta               160 net/mac80211/mesh_sync.c 			  (long long) sta->mesh->t_offset);
sta               320 net/mac80211/mlme.c 			       struct sta_info *sta,
sta               351 net/mac80211/mlme.c 	if (WARN_ON_ONCE(!sta))
sta               425 net/mac80211/mlme.c 	if (new_sta_bw > sta->cur_max_bandwidth)
sta               426 net/mac80211/mlme.c 		new_sta_bw = sta->cur_max_bandwidth;
sta               428 net/mac80211/mlme.c 	if (new_sta_bw < sta->sta.bandwidth) {
sta               429 net/mac80211/mlme.c 		sta->sta.bandwidth = new_sta_bw;
sta               430 net/mac80211/mlme.c 		rate_control_rate_update(local, sband, sta,
sta               442 net/mac80211/mlme.c 	if (new_sta_bw > sta->sta.bandwidth) {
sta               443 net/mac80211/mlme.c 		sta->sta.bandwidth = new_sta_bw;
sta               444 net/mac80211/mlme.c 		rate_control_rate_update(local, sband, sta,
sta              1155 net/mac80211/mlme.c 			mgd_sta->sta.bandwidth = bw;
sta              1172 net/mac80211/mlme.c 			mgd_sta->sta.bandwidth = bw;
sta              1634 net/mac80211/mlme.c 	struct sta_info *sta = NULL;
sta              1653 net/mac80211/mlme.c 	sta = sta_info_get(sdata, mgd->bssid);
sta              1654 net/mac80211/mlme.c 	if (sta)
sta              1655 net/mac80211/mlme.c 		authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED);
sta              2497 net/mac80211/mlme.c 	struct sta_info *sta;
sta              2518 net/mac80211/mlme.c 		sta = sta_info_get(sdata, dst);
sta              2519 net/mac80211/mlme.c 		if (!WARN_ON(!sta))
sta              2520 net/mac80211/mlme.c 			ieee80211_check_fast_rx(sta);
sta              2854 net/mac80211/mlme.c 	struct sta_info *sta;
sta              2865 net/mac80211/mlme.c 	sta = sta_info_get(sdata, bssid);
sta              2866 net/mac80211/mlme.c 	if (!sta) {
sta              2871 net/mac80211/mlme.c 	if (sta_info_move_state(sta, IEEE80211_STA_AUTH)) {
sta              3157 net/mac80211/mlme.c static bool ieee80211_twt_req_supported(const struct sta_info *sta,
sta              3166 net/mac80211/mlme.c 	return sta->sta.he_cap.he_cap_elem.mac_cap_info[0] &
sta              3171 net/mac80211/mlme.c 				    struct sta_info *sta,
sta              3174 net/mac80211/mlme.c 	bool twt = ieee80211_twt_req_supported(sta, elems);
sta              3190 net/mac80211/mlme.c 	struct sta_info *sta;
sta              3325 net/mac80211/mlme.c 	sta = sta_info_get(sdata, cbss->bssid);
sta              3326 net/mac80211/mlme.c 	if (WARN_ON(!sta)) {
sta              3351 net/mac80211/mlme.c 						  elems.ht_cap_elem, sta);
sta              3355 net/mac80211/mlme.c 						    elems.vht_cap_elem, sta);
sta              3362 net/mac80211/mlme.c 						  sta);
sta              3364 net/mac80211/mlme.c 		bss_conf->he_support = sta->sta.he_cap.has_he;
sta              3365 net/mac80211/mlme.c 		changed |= ieee80211_recalc_twt_req(sdata, sta, &elems);
sta              3384 net/mac80211/mlme.c 			sta->sta.he_cap.he_cap_elem.mac_cap_info[2] &
sta              3388 net/mac80211/mlme.c 			sta->sta.he_cap.he_cap_elem.mac_cap_info[2] &
sta              3427 net/mac80211/mlme.c 		sta->sta.rx_nss = nss;
sta              3430 net/mac80211/mlme.c 	rate_control_rate_init(sta);
sta              3433 net/mac80211/mlme.c 		set_sta_flag(sta, WLAN_STA_MFP);
sta              3434 net/mac80211/mlme.c 		sta->sta.mfp = true;
sta              3436 net/mac80211/mlme.c 		sta->sta.mfp = false;
sta              3439 net/mac80211/mlme.c 	sta->sta.wme = elems.wmm_param && local->hw.queues >= IEEE80211_NUM_ACS;
sta              3441 net/mac80211/mlme.c 	err = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
sta              3443 net/mac80211/mlme.c 		err = sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta              3447 net/mac80211/mlme.c 			   sta->sta.addr);
sta              3448 net/mac80211/mlme.c 		WARN_ON(__sta_info_destroy(sta));
sta              3814 net/mac80211/mlme.c 	struct sta_info *sta;
sta              4025 net/mac80211/mlme.c 	sta = sta_info_get(sdata, bssid);
sta              4027 net/mac80211/mlme.c 	changed |= ieee80211_recalc_twt_req(sdata, sta, &elems);
sta              4029 net/mac80211/mlme.c 	if (ieee80211_config_bw(sdata, sta,
sta              4046 net/mac80211/mlme.c 	if (sta && elems.opmode_notif)
sta              4047 net/mac80211/mlme.c 		ieee80211_vht_handle_opmode(sdata, sta, *elems.opmode_notif,
sta              4980 net/mac80211/mlme.c 			new_sta->sta.supp_rates[cbss->channel->band] = rates;
sta                47 net/mac80211/ocb.c 	struct sta_info *sta;
sta                71 net/mac80211/ocb.c 	sta = sta_info_alloc(sdata, addr, GFP_ATOMIC);
sta                72 net/mac80211/ocb.c 	if (!sta)
sta                77 net/mac80211/ocb.c 	sta->sta.supp_rates[band] =
sta                81 net/mac80211/ocb.c 	list_add(&sta->list, &ifocb->incomplete_stations);
sta                86 net/mac80211/ocb.c static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta)
sta                89 net/mac80211/ocb.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta                92 net/mac80211/ocb.c 	memcpy(addr, sta->sta.addr, ETH_ALEN);
sta                97 net/mac80211/ocb.c 	sta_info_move_state(sta, IEEE80211_STA_AUTH);
sta                98 net/mac80211/ocb.c 	sta_info_move_state(sta, IEEE80211_STA_ASSOC);
sta                99 net/mac80211/ocb.c 	sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED);
sta               101 net/mac80211/ocb.c 	rate_control_rate_init(sta);
sta               104 net/mac80211/ocb.c 	if (sta_info_insert_rcu(sta))
sta               106 net/mac80211/ocb.c 	return sta;
sta               124 net/mac80211/ocb.c 	struct sta_info *sta;
sta               133 net/mac80211/ocb.c 		sta = list_first_entry(&ifocb->incomplete_stations,
sta               135 net/mac80211/ocb.c 		list_del(&sta->list);
sta               138 net/mac80211/ocb.c 		ieee80211_ocb_finish_sta(sta);
sta               209 net/mac80211/ocb.c 	struct sta_info *sta;
sta               216 net/mac80211/ocb.c 		sta = list_first_entry(&ifocb->incomplete_stations,
sta               218 net/mac80211/ocb.c 		list_del(&sta->list);
sta               221 net/mac80211/ocb.c 		sta_info_free(local, sta);
sta               786 net/mac80211/offchannel.c 	struct sta_info *sta;
sta               827 net/mac80211/offchannel.c 		sta = sta_info_get_bss(sdata, mgmt->da);
sta               829 net/mac80211/offchannel.c 		if (!sta)
sta                21 net/mac80211/pm.c 	struct sta_info *sta;
sta                37 net/mac80211/pm.c 		list_for_each_entry(sta, &local->sta_list, list) {
sta                38 net/mac80211/pm.c 			set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta                40 net/mac80211/pm.c 					sta, AGG_STOP_LOCAL_REQUEST);
sta               116 net/mac80211/pm.c 				list_for_each_entry(sta,
sta               118 net/mac80211/pm.c 					clear_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               156 net/mac80211/pm.c 			sta = sdata->u.wds.sta;
sta               157 net/mac80211/pm.c 			if (sta && sta->uploaded) {
sta               160 net/mac80211/pm.c 				state = sta->sta_state;
sta               162 net/mac80211/pm.c 					WARN_ON(drv_sta_state(local, sta->sdata,
sta               163 net/mac80211/pm.c 							      sta, state,
sta                30 net/mac80211/rate.c void rate_control_rate_init(struct sta_info *sta)
sta                32 net/mac80211/rate.c 	struct ieee80211_local *local = sta->sdata->local;
sta                33 net/mac80211/rate.c 	struct rate_control_ref *ref = sta->rate_ctrl;
sta                34 net/mac80211/rate.c 	struct ieee80211_sta *ista = &sta->sta;
sta                35 net/mac80211/rate.c 	void *priv_sta = sta->rate_ctrl_priv;
sta                39 net/mac80211/rate.c 	ieee80211_sta_set_rx_nss(sta);
sta                46 net/mac80211/rate.c 	chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf);
sta                54 net/mac80211/rate.c 	spin_lock_bh(&sta->rate_ctrl_lock);
sta                57 net/mac80211/rate.c 	spin_unlock_bh(&sta->rate_ctrl_lock);
sta                59 net/mac80211/rate.c 	set_sta_flag(sta, WLAN_STA_RATE_CONTROL);
sta                67 net/mac80211/rate.c 	struct sta_info *sta = container_of(st->sta, struct sta_info, sta);
sta                68 net/mac80211/rate.c 	void *priv_sta = sta->rate_ctrl_priv;
sta                70 net/mac80211/rate.c 	if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
sta                73 net/mac80211/rate.c 	spin_lock_bh(&sta->rate_ctrl_lock);
sta                77 net/mac80211/rate.c 		ref->ops->tx_status(ref->priv, sband, st->sta, priv_sta, st->skb);
sta                81 net/mac80211/rate.c 	spin_unlock_bh(&sta->rate_ctrl_lock);
sta                86 net/mac80211/rate.c 				    struct sta_info *sta, u32 changed)
sta                89 net/mac80211/rate.c 	struct ieee80211_sta *ista = &sta->sta;
sta                90 net/mac80211/rate.c 	void *priv_sta = sta->rate_ctrl_priv;
sta                96 net/mac80211/rate.c 		chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf);
sta               102 net/mac80211/rate.c 		spin_lock_bh(&sta->rate_ctrl_lock);
sta               105 net/mac80211/rate.c 		spin_unlock_bh(&sta->rate_ctrl_lock);
sta               108 net/mac80211/rate.c 	drv_sta_rc_update(local, sta->sdata, &sta->sta, changed);
sta               323 net/mac80211/rate.c 				    struct ieee80211_sta *sta,
sta               343 net/mac80211/rate.c 		if (!rate_supported(sta, sband->band, i))
sta               351 net/mac80211/rate.c 		  sta ? sta->addr : NULL,
sta               352 net/mac80211/rate.c 		  sta ? sta->supp_rates[sband->band] : -1,
sta               369 net/mac80211/rate.c 	struct sta_info *sta;
sta               385 net/mac80211/rate.c 			sta = container_of(pubsta, struct sta_info, sta);
sta               386 net/mac80211/rate.c 			if (ieee80211_vif_is_mesh(&sta->sdata->vif))
sta               687 net/mac80211/rate.c static void rate_control_fill_sta_table(struct ieee80211_sta *sta,
sta               695 net/mac80211/rate.c 	if (sta && !info->control.skip_table)
sta               696 net/mac80211/rate.c 		ratetbl = rcu_dereference(sta->rates);
sta               727 net/mac80211/rate.c 				  struct ieee80211_sta *sta, u32 *mask,
sta               757 net/mac80211/rate.c 	if (sta) {
sta               762 net/mac80211/rate.c 		*mask &= sta->supp_rates[sband->band];
sta               764 net/mac80211/rate.c 			mcs_mask[i] &= sta->ht_cap.mcs.rx_mask[i];
sta               766 net/mac80211/rate.c 		sta_vht_cap = sta->vht_cap.vht_mcs.rx_mcs_map;
sta               776 net/mac80211/rate.c rate_control_apply_mask_ratetbl(struct sta_info *sta,
sta               786 net/mac80211/rate.c 	if (!rate_control_cap_mask(sta->sdata, sband, &sta->sta, &mask,
sta               790 net/mac80211/rate.c 	chan_width = sta->sdata->vif.bss_conf.chandef.width;
sta               802 net/mac80211/rate.c 				    struct ieee80211_sta *sta,
sta               818 net/mac80211/rate.c 	if (!rate_control_cap_mask(sdata, sband, sta, &mask, mcs_mask,
sta               841 net/mac80211/rate.c 			    struct ieee80211_sta *sta,
sta               851 net/mac80211/rate.c 	rate_control_fill_sta_table(sta, info, dest, max_rates);
sta               860 net/mac80211/rate.c 		rate_control_apply_mask(sdata, sta, sband, dest, max_rates);
sta               863 net/mac80211/rate.c 		__rate_control_send_low(&sdata->local->hw, sband, sta, info,
sta               866 net/mac80211/rate.c 	if (sta)
sta               872 net/mac80211/rate.c 			   struct sta_info *sta,
sta               887 net/mac80211/rate.c 	if (rate_control_send_low(sta ? &sta->sta : NULL, txrc))
sta               893 net/mac80211/rate.c 	if (sta && test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) {
sta               894 net/mac80211/rate.c 		ista = &sta->sta;
sta               895 net/mac80211/rate.c 		priv_sta = sta->rate_ctrl_priv;
sta               899 net/mac80211/rate.c 		spin_lock_bh(&sta->rate_ctrl_lock);
sta               901 net/mac80211/rate.c 		spin_unlock_bh(&sta->rate_ctrl_lock);
sta               918 net/mac80211/rate.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta               922 net/mac80211/rate.c 	sband = ieee80211_get_sband(sta->sdata);
sta               925 net/mac80211/rate.c 	rate_control_apply_mask_ratetbl(sta, sband, rates);
sta               937 net/mac80211/rate.c 	drv_sta_rate_tbl_update(hw_to_local(hw), sta->sdata, pubsta);
sta               939 net/mac80211/rate.c 	ieee80211_sta_set_expected_throughput(pubsta, sta_get_expected_throughput(sta));
sta                25 net/mac80211/rate.h 			   struct sta_info *sta,
sta                32 net/mac80211/rate.h void rate_control_rate_init(struct sta_info *sta);
sta                35 net/mac80211/rate.h 				    struct sta_info *sta, u32 changed);
sta                38 net/mac80211/rate.h 					   struct sta_info *sta, gfp_t gfp)
sta                40 net/mac80211/rate.h 	spin_lock_init(&sta->rate_ctrl_lock);
sta                41 net/mac80211/rate.h 	return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp);
sta                44 net/mac80211/rate.h static inline void rate_control_free_sta(struct sta_info *sta)
sta                46 net/mac80211/rate.h 	struct rate_control_ref *ref = sta->rate_ctrl;
sta                47 net/mac80211/rate.h 	struct ieee80211_sta *ista = &sta->sta;
sta                48 net/mac80211/rate.h 	void *priv_sta = sta->rate_ctrl_priv;
sta                53 net/mac80211/rate.h static inline void rate_control_add_sta_debugfs(struct sta_info *sta)
sta                56 net/mac80211/rate.h 	struct rate_control_ref *ref = sta->rate_ctrl;
sta                57 net/mac80211/rate.h 	if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs)
sta                58 net/mac80211/rate.h 		ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv,
sta                59 net/mac80211/rate.h 					  sta->debugfs_dir);
sta               153 net/mac80211/rc80211_minstrel.c 	rate_control_set_rates(mp->hw, mi->sta, ratetbl);
sta               328 net/mac80211/rc80211_minstrel.c minstrel_get_rate(void *priv, struct ieee80211_sta *sta,
sta               477 net/mac80211/rc80211_minstrel.c 		   struct ieee80211_sta *sta, void *priv_sta)
sta               486 net/mac80211/rc80211_minstrel.c 	mi->sta = sta;
sta               487 net/mac80211/rc80211_minstrel.c 	mi->lowest_rix = rate_lowest_index(sband, sta);
sta               506 net/mac80211/rc80211_minstrel.c 		if (!rate_supported(sta, sband->band, i))
sta                70 net/mac80211/rc80211_minstrel.h 	struct ieee80211_sta *sta;
sta               863 net/mac80211/rc80211_minstrel_ht.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta               876 net/mac80211/rc80211_minstrel_ht.c 	if (likely(sta->ampdu_mlme.tid_tx[tid]))
sta              1091 net/mac80211/rc80211_minstrel_ht.c 	    (mi->sta->smps_mode == IEEE80211_SMPS_DYNAMIC &&
sta              1151 net/mac80211/rc80211_minstrel_ht.c 	if (!mi->sta->vht_cap.vht_supported)
sta              1184 net/mac80211/rc80211_minstrel_ht.c 	mi->sta->max_rc_amsdu_len = minstrel_ht_get_max_amsdu_len(mi);
sta              1186 net/mac80211/rc80211_minstrel_ht.c 	rate_control_set_rates(mp->hw, mi->sta, rates);
sta              1288 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta,
sta              1300 net/mac80211/rc80211_minstrel_ht.c 		return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc);
sta              1304 net/mac80211/rc80211_minstrel_ht.c 		minstrel_aggr_check(sta, txrc->skb);
sta              1357 net/mac80211/rc80211_minstrel_ht.c 		       struct ieee80211_sta *sta)
sta              1370 net/mac80211/rc80211_minstrel_ht.c 		if (!rate_supported(sta, sband->band, mp->cck_rates[i]))
sta              1384 net/mac80211/rc80211_minstrel_ht.c                         struct ieee80211_sta *sta, void *priv_sta)
sta              1389 net/mac80211/rc80211_minstrel_ht.c 	struct ieee80211_mcs_info *mcs = &sta->ht_cap.mcs;
sta              1390 net/mac80211/rc80211_minstrel_ht.c 	u16 ht_cap = sta->ht_cap.cap;
sta              1391 net/mac80211/rc80211_minstrel_ht.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->vht_cap;
sta              1400 net/mac80211/rc80211_minstrel_ht.c 	if (!sta->ht_cap.ht_supported)
sta              1413 net/mac80211/rc80211_minstrel_ht.c 	mi->sta = sta;
sta              1455 net/mac80211/rc80211_minstrel_ht.c 			minstrel_ht_update_cck(mp, mi, sband, sta);
sta              1470 net/mac80211/rc80211_minstrel_ht.c 		    sta->bandwidth < IEEE80211_STA_RX_BW_40)
sta              1476 net/mac80211/rc80211_minstrel_ht.c 		if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1)
sta              1497 net/mac80211/rc80211_minstrel_ht.c 			if (sta->bandwidth < IEEE80211_STA_RX_BW_80 ||
sta              1534 net/mac80211/rc80211_minstrel_ht.c 	return mac80211_minstrel.rate_init(priv, sband, chandef, sta,
sta              1541 net/mac80211/rc80211_minstrel_ht.c                       struct ieee80211_sta *sta, void *priv_sta)
sta              1543 net/mac80211/rc80211_minstrel_ht.c 	minstrel_ht_update_caps(priv, sband, chandef, sta, priv_sta);
sta              1549 net/mac80211/rc80211_minstrel_ht.c                         struct ieee80211_sta *sta, void *priv_sta,
sta              1552 net/mac80211/rc80211_minstrel_ht.c 	minstrel_ht_update_caps(priv, sband, chandef, sta, priv_sta);
sta              1556 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_alloc_sta(void *priv, struct ieee80211_sta *sta, gfp_t gfp)
sta              1593 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_free_sta(void *priv, struct ieee80211_sta *sta, void *priv_sta)
sta                61 net/mac80211/rc80211_minstrel_ht.h 	struct ieee80211_sta *sta;
sta              1070 net/mac80211/rx.c 	if (!rx->sta || sta_plink_state(rx->sta) != NL80211_PLINK_ESTAB) {
sta              1365 net/mac80211/rx.c 	struct sta_info *sta = rx->sta;
sta              1379 net/mac80211/rx.c 	if (!sta)
sta              1386 net/mac80211/rx.c 	tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
sta              1389 net/mac80211/rx.c 		    !test_bit(tid, rx->sta->ampdu_mlme.agg_session_valid) &&
sta              1390 net/mac80211/rx.c 		    !test_and_set_bit(tid, rx->sta->ampdu_mlme.unexpected_agg))
sta              1391 net/mac80211/rx.c 			ieee80211_send_delba(rx->sdata, rx->sta->sta.addr, tid,
sta              1457 net/mac80211/rx.c 	if (!rx->sta)
sta              1461 net/mac80211/rx.c 		     rx->sta->last_seq_ctrl[rx->seqno_idx] == hdr->seq_ctrl)) {
sta              1463 net/mac80211/rx.c 		rx->sta->rx_stats.num_duplicates++;
sta              1466 net/mac80211/rx.c 		rx->sta->last_seq_ctrl[rx->seqno_idx] = hdr->seq_ctrl;
sta              1494 net/mac80211/rx.c 		     (!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_ASSOC)))) {
sta              1500 net/mac80211/rx.c 		if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION &&
sta              1561 net/mac80211/rx.c static void sta_ps_start(struct sta_info *sta)
sta              1563 net/mac80211/rx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1568 net/mac80211/rx.c 	if (sta->sdata->vif.type == NL80211_IFTYPE_AP ||
sta              1569 net/mac80211/rx.c 	    sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sta              1575 net/mac80211/rx.c 	set_sta_flag(sta, WLAN_STA_PS_STA);
sta              1577 net/mac80211/rx.c 		drv_sta_notify(local, sdata, STA_NOTIFY_SLEEP, &sta->sta);
sta              1579 net/mac80211/rx.c 	       sta->sta.addr, sta->sta.aid);
sta              1581 net/mac80211/rx.c 	ieee80211_clear_fast_xmit(sta);
sta              1583 net/mac80211/rx.c 	if (!sta->sta.txq[0])
sta              1587 net/mac80211/rx.c 		struct ieee80211_txq *txq = sta->sta.txq[tid];
sta              1596 net/mac80211/rx.c 			set_bit(tid, &sta->txq_buffered_tids);
sta              1598 net/mac80211/rx.c 			clear_bit(tid, &sta->txq_buffered_tids);
sta              1602 net/mac80211/rx.c static void sta_ps_end(struct sta_info *sta)
sta              1604 net/mac80211/rx.c 	ps_dbg(sta->sdata, "STA %pM aid %d exits power save mode\n",
sta              1605 net/mac80211/rx.c 	       sta->sta.addr, sta->sta.aid);
sta              1607 net/mac80211/rx.c 	if (test_sta_flag(sta, WLAN_STA_PS_DRIVER)) {
sta              1614 net/mac80211/rx.c 		clear_sta_flag(sta, WLAN_STA_PS_STA);
sta              1615 net/mac80211/rx.c 		ps_dbg(sta->sdata, "STA %pM aid %d driver-ps-blocked\n",
sta              1616 net/mac80211/rx.c 		       sta->sta.addr, sta->sta.aid);
sta              1620 net/mac80211/rx.c 	set_sta_flag(sta, WLAN_STA_PS_DELIVER);
sta              1621 net/mac80211/rx.c 	clear_sta_flag(sta, WLAN_STA_PS_STA);
sta              1622 net/mac80211/rx.c 	ieee80211_sta_ps_deliver_wakeup(sta);
sta              1627 net/mac80211/rx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1630 net/mac80211/rx.c 	WARN_ON(!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS));
sta              1633 net/mac80211/rx.c 	in_ps = test_sta_flag(sta, WLAN_STA_PS_STA);
sta              1638 net/mac80211/rx.c 		sta_ps_start(sta);
sta              1640 net/mac80211/rx.c 		sta_ps_end(sta);
sta              1648 net/mac80211/rx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1650 net/mac80211/rx.c 	if (test_sta_flag(sta, WLAN_STA_SP))
sta              1653 net/mac80211/rx.c 	if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER))
sta              1654 net/mac80211/rx.c 		ieee80211_sta_ps_deliver_poll_response(sta);
sta              1656 net/mac80211/rx.c 		set_sta_flag(sta, WLAN_STA_PSPOLL);
sta              1662 net/mac80211/rx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1673 net/mac80211/rx.c 	if (!(sta->sta.uapsd_queues & ieee80211_ac_to_qos_mask[ac]) &&
sta              1678 net/mac80211/rx.c 	if (test_sta_flag(sta, WLAN_STA_SP))
sta              1681 net/mac80211/rx.c 	if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER))
sta              1682 net/mac80211/rx.c 		ieee80211_sta_ps_deliver_uapsd(sta);
sta              1684 net/mac80211/rx.c 		set_sta_flag(sta, WLAN_STA_UAPSD);
sta              1695 net/mac80211/rx.c 	if (!rx->sta)
sta              1715 net/mac80211/rx.c 	if (!test_sta_flag(rx->sta, WLAN_STA_PS_STA))
sta              1719 net/mac80211/rx.c 		ieee80211_sta_pspoll(&rx->sta->sta);
sta              1733 net/mac80211/rx.c 		ieee80211_sta_uapsd_trigger(&rx->sta->sta, tid);
sta              1742 net/mac80211/rx.c 	struct sta_info *sta = rx->sta;
sta              1748 net/mac80211/rx.c 	if (!sta)
sta              1763 net/mac80211/rx.c 		    test_sta_flag(sta, WLAN_STA_AUTHORIZED)) {
sta              1764 net/mac80211/rx.c 			sta->rx_stats.last_rx = jiffies;
sta              1767 net/mac80211/rx.c 				sta->rx_stats.last_rate =
sta              1771 net/mac80211/rx.c 		sta->rx_stats.last_rx = jiffies;
sta              1777 net/mac80211/rx.c 		sta->rx_stats.last_rx = jiffies;
sta              1779 net/mac80211/rx.c 			sta->rx_stats.last_rate = sta_stats_encode_rate(status);
sta              1785 net/mac80211/rx.c 	sta->rx_stats.fragments++;
sta              1787 net/mac80211/rx.c 	u64_stats_update_begin(&rx->sta->rx_stats.syncp);
sta              1788 net/mac80211/rx.c 	sta->rx_stats.bytes += rx->skb->len;
sta              1789 net/mac80211/rx.c 	u64_stats_update_end(&rx->sta->rx_stats.syncp);
sta              1792 net/mac80211/rx.c 		sta->rx_stats.last_signal = status->signal;
sta              1793 net/mac80211/rx.c 		ewma_signal_add(&sta->rx_stats_avg.signal, -status->signal);
sta              1797 net/mac80211/rx.c 		sta->rx_stats.chains = status->chains;
sta              1804 net/mac80211/rx.c 			sta->rx_stats.chain_signal_last[i] = signal;
sta              1805 net/mac80211/rx.c 			ewma_signal_add(&sta->rx_stats_avg.chain_signal[i],
sta              1815 net/mac80211/rx.c 	if (!ieee80211_hw_check(&sta->local->hw, AP_LINK_PS) &&
sta              1823 net/mac80211/rx.c 		if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
sta              1825 net/mac80211/rx.c 				sta_ps_end(sta);
sta              1828 net/mac80211/rx.c 				sta_ps_start(sta);
sta              1834 net/mac80211/rx.c 		ieee80211_mps_rx_h_sta_process(sta, hdr);
sta              1852 net/mac80211/rx.c 		      !rx->sdata->u.vlan.sta))) {
sta              1853 net/mac80211/rx.c 			if (!test_and_set_sta_flag(sta, WLAN_STA_4ADDR_EVENT))
sta              1855 net/mac80211/rx.c 					rx->sdata->dev, sta->sta.addr,
sta              1863 net/mac80211/rx.c 		sta->rx_stats.packets++;
sta              1916 net/mac80211/rx.c 	if (rx->sta) {
sta              1917 net/mac80211/rx.c 		int keyid = rx->sta->ptk_idx;
sta              1918 net/mac80211/rx.c 		sta_ptk = rcu_dereference(rx->sta->ptk[keyid]);
sta              1921 net/mac80211/rx.c 			cs = rx->sta->cipher_scheme;
sta              1927 net/mac80211/rx.c 			ptk_idx = rcu_dereference(rx->sta->ptk[keyid]);
sta              1951 net/mac80211/rx.c 		if (rx->sta) {
sta              1953 net/mac80211/rx.c 			    test_sta_flag(rx->sta, WLAN_STA_MFP))
sta              1956 net/mac80211/rx.c 			rx->key = rcu_dereference(rx->sta->gtk[mmie_keyidx]);
sta              1976 net/mac80211/rx.c 			if (rx->sta) {
sta              1978 net/mac80211/rx.c 					key = rcu_dereference(rx->sta->gtk[i]);
sta              2014 net/mac80211/rx.c 		if (is_multicast_ether_addr(hdr->addr1) && rx->sta)
sta              2015 net/mac80211/rx.c 			rx->key = rcu_dereference(rx->sta->gtk[keyidx]);
sta              2293 net/mac80211/rx.c 	if (rx->sta)
sta              2294 net/mac80211/rx.c 		rx->sta->rx_stats.packets++;
sta              2300 net/mac80211/rx.c 	if (unlikely(!rx->sta || !test_sta_flag(rx->sta, WLAN_STA_AUTHORIZED)))
sta              2340 net/mac80211/rx.c 	if (rx->sta && test_sta_flag(rx->sta, WLAN_STA_MFP)) {
sta              2384 net/mac80211/rx.c 	    sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta)
sta              2397 net/mac80211/rx.c 	    sdata->vif.type == NL80211_IFTYPE_AP_VLAN && sdata->u.vlan.sta)
sta              2480 net/mac80211/rx.c 	if (rx->sta) {
sta              2486 net/mac80211/rx.c 		u64_stats_update_begin(&rx->sta->rx_stats.syncp);
sta              2487 net/mac80211/rx.c 		rx->sta->rx_stats.msdu[rx->seqno_idx]++;
sta              2488 net/mac80211/rx.c 		u64_stats_update_end(&rx->sta->rx_stats.syncp);
sta              2494 net/mac80211/rx.c 	    (sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->u.vlan.sta)) {
sta              2586 net/mac80211/rx.c 			if (!rx->sta ||
sta              2587 net/mac80211/rx.c 			    !test_sta_flag(rx->sta, WLAN_STA_TDLS_PEER))
sta              2645 net/mac80211/rx.c 			if (!rx->sdata->u.vlan.sta)
sta              2831 net/mac80211/rx.c 		if (rx->sta &&
sta              2832 net/mac80211/rx.c 		    !test_and_set_sta_flag(rx->sta, WLAN_STA_4ADDR_EVENT))
sta              2834 net/mac80211/rx.c 				rx->sdata->dev, rx->sta->sta.addr, GFP_ATOMIC);
sta              2858 net/mac80211/rx.c 			if (rx->sta)
sta              2859 net/mac80211/rx.c 				rx->sta->rx_stats.packets++;
sta              2909 net/mac80211/rx.c 		if (!rx->sta)
sta              2918 net/mac80211/rx.c 		if (!test_bit(tid, rx->sta->ampdu_mlme.agg_session_valid) &&
sta              2919 net/mac80211/rx.c 		    !test_and_set_bit(tid, rx->sta->ampdu_mlme.unexpected_agg))
sta              2920 net/mac80211/rx.c 			ieee80211_send_delba(rx->sdata, rx->sta->sta.addr, tid,
sta              2924 net/mac80211/rx.c 		tid_agg_rx = rcu_dereference(rx->sta->ampdu_mlme.tid_rx[tid]);
sta              2931 net/mac80211/rx.c 		event.u.ba.sta = &rx->sta->sta;
sta              3057 net/mac80211/rx.c 	if (!rx->sta && mgmt->u.action.category != WLAN_CATEGORY_PUBLIC &&
sta              3065 net/mac80211/rx.c 		if (!rx->sta->sta.ht_cap.ht_supported)
sta              3101 net/mac80211/rx.c 			if (rx->sta->sta.smps_mode == smps_mode)
sta              3103 net/mac80211/rx.c 			rx->sta->sta.smps_mode = smps_mode;
sta              3110 net/mac80211/rx.c 			rate_control_rate_update(local, sband, rx->sta,
sta              3113 net/mac80211/rx.c 							  rx->sta->addr,
sta              3125 net/mac80211/rx.c 			if (!(rx->sta->sta.ht_cap.cap &
sta              3132 net/mac80211/rx.c 				max_bw = ieee80211_sta_cap_rx_bw(rx->sta);
sta              3135 net/mac80211/rx.c 			rx->sta->cur_max_bandwidth = max_bw;
sta              3136 net/mac80211/rx.c 			new_bw = ieee80211_sta_cur_vht_bw(rx->sta);
sta              3138 net/mac80211/rx.c 			if (rx->sta->sta.bandwidth == new_bw)
sta              3141 net/mac80211/rx.c 			rx->sta->sta.bandwidth = new_bw;
sta              3144 net/mac80211/rx.c 				ieee80211_sta_rx_bw_to_chan_width(rx->sta);
sta              3147 net/mac80211/rx.c 			rate_control_rate_update(local, sband, rx->sta,
sta              3150 net/mac80211/rx.c 							  rx->sta->addr,
sta              3165 net/mac80211/rx.c 		if (!rx->sta)
sta              3339 net/mac80211/rx.c 	if (rx->sta)
sta              3340 net/mac80211/rx.c 		rx->sta->rx_stats.packets++;
sta              3347 net/mac80211/rx.c 	if (rx->sta)
sta              3348 net/mac80211/rx.c 		rx->sta->rx_stats.packets++;
sta              3375 net/mac80211/rx.c 		if (rx->sta)
sta              3376 net/mac80211/rx.c 			rx->sta->rx_stats.packets++;
sta              3502 net/mac80211/rx.c 	if (rx->sta)
sta              3503 net/mac80211/rx.c 		rx->sta->rx_stats.packets++;
sta              3584 net/mac80211/rx.c 		if (rx->sta)
sta              3585 net/mac80211/rx.c 			rx->sta->rx_stats.dropped++;
sta              3603 net/mac80211/rx.c 		if (rx->sta)
sta              3604 net/mac80211/rx.c 			rx->sta->rx_stats.dropped++;
sta              3708 net/mac80211/rx.c void ieee80211_release_reorder_timeout(struct sta_info *sta, int tid)
sta              3712 net/mac80211/rx.c 		.sta = sta,
sta              3713 net/mac80211/rx.c 		.sdata = sta->sdata,
sta              3714 net/mac80211/rx.c 		.local = sta->local,
sta              3722 net/mac80211/rx.c 	tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
sta              3729 net/mac80211/rx.c 	ieee80211_sta_reorder_release(sta->sdata, tid_agg_rx, &frames);
sta              3736 net/mac80211/rx.c 			.u.ba.sta = &sta->sta,
sta              3748 net/mac80211/rx.c 	struct sta_info *sta;
sta              3763 net/mac80211/rx.c 	sta = container_of(pubsta, struct sta_info, sta);
sta              3765 net/mac80211/rx.c 	rx.sta = sta;
sta              3766 net/mac80211/rx.c 	rx.sdata = sta->sdata;
sta              3767 net/mac80211/rx.c 	rx.local = sta->local;
sta              3770 net/mac80211/rx.c 	tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
sta              3782 net/mac80211/rx.c 		ieee80211_release_reorder_frames(sta->sdata, tid_agg_rx,
sta              3787 net/mac80211/rx.c 		ieee80211_release_reorder_frames(sta->sdata, tid_agg_rx, ssn,
sta              3811 net/mac80211/rx.c 	ieee80211_sta_reorder_release(sta->sdata, tid_agg_rx, &frames);
sta              3838 net/mac80211/rx.c 		if (ieee80211_is_robust_mgmt_frame(skb) && !rx->sta)
sta              3856 net/mac80211/rx.c 		if (!rx->sta) {
sta              3876 net/mac80211/rx.c 		if (!rx->sta) {
sta              3964 net/mac80211/rx.c void ieee80211_check_fast_rx(struct sta_info *sta)
sta              3966 net/mac80211/rx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              3993 net/mac80211/rx.c 		if (sta->sta.tdls) {
sta              4005 net/mac80211/rx.c 		if (sdata->u.mgd.use_4addr && !sta->sta.tdls) {
sta              4036 net/mac80211/rx.c 			 !sdata->u.vlan.sta);
sta              4039 net/mac80211/rx.c 		    sdata->u.vlan.sta) {
sta              4051 net/mac80211/rx.c 	if (!test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              4055 net/mac80211/rx.c 	key = rcu_dereference(sta->ptk[sta->ptk_idx]);
sta              4086 net/mac80211/rx.c 	spin_lock_bh(&sta->lock);
sta              4087 net/mac80211/rx.c 	old = rcu_dereference_protected(sta->fast_rx, true);
sta              4088 net/mac80211/rx.c 	rcu_assign_pointer(sta->fast_rx, new);
sta              4089 net/mac80211/rx.c 	spin_unlock_bh(&sta->lock);
sta              4095 net/mac80211/rx.c void ieee80211_clear_fast_rx(struct sta_info *sta)
sta              4099 net/mac80211/rx.c 	spin_lock_bh(&sta->lock);
sta              4100 net/mac80211/rx.c 	old = rcu_dereference_protected(sta->fast_rx, true);
sta              4101 net/mac80211/rx.c 	RCU_INIT_POINTER(sta->fast_rx, NULL);
sta              4102 net/mac80211/rx.c 	spin_unlock_bh(&sta->lock);
sta              4111 net/mac80211/rx.c 	struct sta_info *sta;
sta              4115 net/mac80211/rx.c 	list_for_each_entry(sta, &local->sta_list, list) {
sta              4116 net/mac80211/rx.c 		if (sdata != sta->sdata &&
sta              4117 net/mac80211/rx.c 		    (!sta->sdata->bss || sta->sdata->bss != sdata->bss))
sta              4119 net/mac80211/rx.c 		ieee80211_check_fast_rx(sta);
sta              4138 net/mac80211/rx.c 	struct sta_info *sta = rx->sta;
sta              4150 net/mac80211/rx.c 	struct ieee80211_sta_rx_stats *stats = &sta->rx_stats;
sta              4153 net/mac80211/rx.c 		stats = this_cpu_ptr(sta->pcpu_rx_stats);
sta              4237 net/mac80211/rx.c 			ewma_signal_add(&sta->rx_stats_avg.signal,
sta              4253 net/mac80211/rx.c 				ewma_signal_add(&sta->rx_stats_avg.chain_signal[i],
sta              4361 net/mac80211/rx.c 	if (consume && rx->sta) {
sta              4364 net/mac80211/rx.c 		fast_rx = rcu_dereference(rx->sta->fast_rx);
sta              4440 net/mac80211/rx.c 		struct sta_info *sta, *prev_sta;
sta              4443 net/mac80211/rx.c 			rx.sta = container_of(pubsta, struct sta_info, sta);
sta              4444 net/mac80211/rx.c 			rx.sdata = rx.sta->sdata;
sta              4452 net/mac80211/rx.c 		for_each_sta_info(local, hdr->addr2, sta, tmp) {
sta              4454 net/mac80211/rx.c 				prev_sta = sta;
sta              4458 net/mac80211/rx.c 			rx.sta = prev_sta;
sta              4462 net/mac80211/rx.c 			prev_sta = sta;
sta              4466 net/mac80211/rx.c 			rx.sta = prev_sta;
sta              4496 net/mac80211/rx.c 		rx.sta = sta_info_get_bss(prev, hdr->addr2);
sta              4504 net/mac80211/rx.c 		rx.sta = sta_info_get_bss(prev, hdr->addr2);
sta                78 net/mac80211/sta_info.c 			     struct sta_info *sta)
sta                80 net/mac80211/sta_info.c 	return rhltable_remove(&local->sta_hash, &sta->hash_node,
sta                84 net/mac80211/sta_info.c static void __cleanup_single_sta(struct sta_info *sta)
sta                88 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta                92 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_PS_STA) ||
sta                93 net/mac80211/sta_info.c 	    test_sta_flag(sta, WLAN_STA_PS_DRIVER) ||
sta                94 net/mac80211/sta_info.c 	    test_sta_flag(sta, WLAN_STA_PS_DELIVER)) {
sta                95 net/mac80211/sta_info.c 		if (sta->sdata->vif.type == NL80211_IFTYPE_AP ||
sta                96 net/mac80211/sta_info.c 		    sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sta               103 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_STA);
sta               104 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_DRIVER);
sta               105 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_DELIVER);
sta               110 net/mac80211/sta_info.c 	if (sta->sta.txq[0]) {
sta               111 net/mac80211/sta_info.c 		for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
sta               114 net/mac80211/sta_info.c 			if (!sta->sta.txq[i])
sta               117 net/mac80211/sta_info.c 			txqi = to_txq_info(sta->sta.txq[i]);
sta               124 net/mac80211/sta_info.c 		local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]);
sta               125 net/mac80211/sta_info.c 		ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]);
sta               126 net/mac80211/sta_info.c 		ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]);
sta               130 net/mac80211/sta_info.c 		mesh_sta_cleanup(sta);
sta               132 net/mac80211/sta_info.c 	cancel_work_sync(&sta->drv_deliver_wk);
sta               141 net/mac80211/sta_info.c 		kfree(sta->ampdu_mlme.tid_start_tx[i]);
sta               142 net/mac80211/sta_info.c 		tid_tx = rcu_dereference_raw(sta->ampdu_mlme.tid_tx[i]);
sta               150 net/mac80211/sta_info.c static void cleanup_single_sta(struct sta_info *sta)
sta               152 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               155 net/mac80211/sta_info.c 	__cleanup_single_sta(sta);
sta               156 net/mac80211/sta_info.c 	sta_info_free(local, sta);
sta               171 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               174 net/mac80211/sta_info.c 	for_each_sta_info(local, addr, sta, tmp) {
sta               175 net/mac80211/sta_info.c 		if (sta->sdata == sdata) {
sta               180 net/mac80211/sta_info.c 			return sta;
sta               196 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               199 net/mac80211/sta_info.c 	for_each_sta_info(local, addr, sta, tmp) {
sta               200 net/mac80211/sta_info.c 		if (sta->sdata == sdata ||
sta               201 net/mac80211/sta_info.c 		    (sta->sdata->bss && sta->sdata->bss == sdata->bss)) {
sta               206 net/mac80211/sta_info.c 			return sta;
sta               217 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               220 net/mac80211/sta_info.c 	list_for_each_entry_rcu(sta, &local->sta_list, list,
sta               222 net/mac80211/sta_info.c 		if (sdata != sta->sdata)
sta               228 net/mac80211/sta_info.c 		return sta;
sta               245 net/mac80211/sta_info.c void sta_info_free(struct ieee80211_local *local, struct sta_info *sta)
sta               247 net/mac80211/sta_info.c 	if (sta->rate_ctrl)
sta               248 net/mac80211/sta_info.c 		rate_control_free_sta(sta);
sta               250 net/mac80211/sta_info.c 	sta_dbg(sta->sdata, "Destroyed STA %pM\n", sta->sta.addr);
sta               252 net/mac80211/sta_info.c 	if (sta->sta.txq[0])
sta               253 net/mac80211/sta_info.c 		kfree(to_txq_info(sta->sta.txq[0]));
sta               254 net/mac80211/sta_info.c 	kfree(rcu_dereference_raw(sta->sta.rates));
sta               256 net/mac80211/sta_info.c 	kfree(sta->mesh);
sta               258 net/mac80211/sta_info.c 	free_percpu(sta->pcpu_rx_stats);
sta               259 net/mac80211/sta_info.c 	kfree(sta);
sta               264 net/mac80211/sta_info.c 			     struct sta_info *sta)
sta               266 net/mac80211/sta_info.c 	return rhltable_insert(&local->sta_hash, &sta->hash_node,
sta               272 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               274 net/mac80211/sta_info.c 	sta = container_of(wk, struct sta_info, drv_deliver_wk);
sta               276 net/mac80211/sta_info.c 	if (sta->dead)
sta               280 net/mac80211/sta_info.c 	if (!test_sta_flag(sta, WLAN_STA_PS_STA))
sta               281 net/mac80211/sta_info.c 		ieee80211_sta_ps_deliver_wakeup(sta);
sta               282 net/mac80211/sta_info.c 	else if (test_and_clear_sta_flag(sta, WLAN_STA_PSPOLL))
sta               283 net/mac80211/sta_info.c 		ieee80211_sta_ps_deliver_poll_response(sta);
sta               284 net/mac80211/sta_info.c 	else if (test_and_clear_sta_flag(sta, WLAN_STA_UAPSD))
sta               285 net/mac80211/sta_info.c 		ieee80211_sta_ps_deliver_uapsd(sta);
sta               290 net/mac80211/sta_info.c 				    struct sta_info *sta, gfp_t gfp)
sta               295 net/mac80211/sta_info.c 	sta->rate_ctrl = local->rate_ctrl;
sta               296 net/mac80211/sta_info.c 	sta->rate_ctrl_priv = rate_control_alloc_sta(sta->rate_ctrl,
sta               297 net/mac80211/sta_info.c 						     sta, gfp);
sta               298 net/mac80211/sta_info.c 	if (!sta->rate_ctrl_priv)
sta               309 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               312 net/mac80211/sta_info.c 	sta = kzalloc(sizeof(*sta) + hw->sta_data_size, gfp);
sta               313 net/mac80211/sta_info.c 	if (!sta)
sta               317 net/mac80211/sta_info.c 		sta->pcpu_rx_stats =
sta               319 net/mac80211/sta_info.c 		if (!sta->pcpu_rx_stats)
sta               323 net/mac80211/sta_info.c 	spin_lock_init(&sta->lock);
sta               324 net/mac80211/sta_info.c 	spin_lock_init(&sta->ps_lock);
sta               325 net/mac80211/sta_info.c 	INIT_WORK(&sta->drv_deliver_wk, sta_deliver_ps_frames);
sta               326 net/mac80211/sta_info.c 	INIT_WORK(&sta->ampdu_mlme.work, ieee80211_ba_session_work);
sta               327 net/mac80211/sta_info.c 	mutex_init(&sta->ampdu_mlme.mtx);
sta               330 net/mac80211/sta_info.c 		sta->mesh = kzalloc(sizeof(*sta->mesh), gfp);
sta               331 net/mac80211/sta_info.c 		if (!sta->mesh)
sta               333 net/mac80211/sta_info.c 		sta->mesh->plink_sta = sta;
sta               334 net/mac80211/sta_info.c 		spin_lock_init(&sta->mesh->plink_lock);
sta               337 net/mac80211/sta_info.c 			timer_setup(&sta->mesh->plink_timer, mesh_plink_timer,
sta               339 net/mac80211/sta_info.c 		sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE;
sta               343 net/mac80211/sta_info.c 	memcpy(sta->addr, addr, ETH_ALEN);
sta               344 net/mac80211/sta_info.c 	memcpy(sta->sta.addr, addr, ETH_ALEN);
sta               345 net/mac80211/sta_info.c 	sta->sta.max_rx_aggregation_subframes =
sta               354 net/mac80211/sta_info.c 	BUILD_BUG_ON(ARRAY_SIZE(sta->ptk) <= INVALID_PTK_KEYIDX);
sta               355 net/mac80211/sta_info.c 	sta->ptk_idx = INVALID_PTK_KEYIDX;
sta               357 net/mac80211/sta_info.c 	sta->local = local;
sta               358 net/mac80211/sta_info.c 	sta->sdata = sdata;
sta               359 net/mac80211/sta_info.c 	sta->rx_stats.last_rx = jiffies;
sta               361 net/mac80211/sta_info.c 	u64_stats_init(&sta->rx_stats.syncp);
sta               363 net/mac80211/sta_info.c 	sta->sta_state = IEEE80211_STA_NONE;
sta               366 net/mac80211/sta_info.c 	sta->reserved_tid = IEEE80211_TID_UNRESERVED;
sta               368 net/mac80211/sta_info.c 	sta->last_connected = ktime_get_seconds();
sta               369 net/mac80211/sta_info.c 	ewma_signal_init(&sta->rx_stats_avg.signal);
sta               370 net/mac80211/sta_info.c 	ewma_avg_signal_init(&sta->status_stats.avg_ack_signal);
sta               371 net/mac80211/sta_info.c 	for (i = 0; i < ARRAY_SIZE(sta->rx_stats_avg.chain_signal); i++)
sta               372 net/mac80211/sta_info.c 		ewma_signal_init(&sta->rx_stats_avg.chain_signal[i]);
sta               379 net/mac80211/sta_info.c 		txq_data = kcalloc(ARRAY_SIZE(sta->sta.txq), size, gfp);
sta               383 net/mac80211/sta_info.c 		for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
sta               387 net/mac80211/sta_info.c 			ieee80211_txq_init(sdata, sta, txq, i);
sta               391 net/mac80211/sta_info.c 	if (sta_prepare_rate_control(local, sta, gfp))
sta               394 net/mac80211/sta_info.c 	sta->airtime_weight = IEEE80211_DEFAULT_AIRTIME_WEIGHT;
sta               397 net/mac80211/sta_info.c 		skb_queue_head_init(&sta->ps_tx_buf[i]);
sta               398 net/mac80211/sta_info.c 		skb_queue_head_init(&sta->tx_filtered[i]);
sta               399 net/mac80211/sta_info.c 		sta->airtime[i].deficit = sta->airtime_weight;
sta               403 net/mac80211/sta_info.c 		sta->last_seq_ctrl[i] = cpu_to_le16(USHRT_MAX);
sta               442 net/mac80211/sta_info.c 			sta->sta.supp_rates[i] |= BIT(r);
sta               446 net/mac80211/sta_info.c 	sta->sta.smps_mode = IEEE80211_SMPS_OFF;
sta               464 net/mac80211/sta_info.c 			sta->known_smps_mode = IEEE80211_SMPS_OFF;
sta               467 net/mac80211/sta_info.c 			sta->known_smps_mode = IEEE80211_SMPS_STATIC;
sta               470 net/mac80211/sta_info.c 			sta->known_smps_mode = IEEE80211_SMPS_DYNAMIC;
sta               477 net/mac80211/sta_info.c 	sta->sta.max_rc_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_BA;
sta               479 net/mac80211/sta_info.c 	sta->cparams.ce_threshold = CODEL_DISABLED_THRESHOLD;
sta               480 net/mac80211/sta_info.c 	sta->cparams.target = MS2TIME(20);
sta               481 net/mac80211/sta_info.c 	sta->cparams.interval = MS2TIME(100);
sta               482 net/mac80211/sta_info.c 	sta->cparams.ecn = true;
sta               484 net/mac80211/sta_info.c 	sta_dbg(sdata, "Allocated STA %pM\n", sta->sta.addr);
sta               486 net/mac80211/sta_info.c 	return sta;
sta               489 net/mac80211/sta_info.c 	if (sta->sta.txq[0])
sta               490 net/mac80211/sta_info.c 		kfree(to_txq_info(sta->sta.txq[0]));
sta               492 net/mac80211/sta_info.c 	free_percpu(sta->pcpu_rx_stats);
sta               494 net/mac80211/sta_info.c 	kfree(sta->mesh);
sta               496 net/mac80211/sta_info.c 	kfree(sta);
sta               500 net/mac80211/sta_info.c static int sta_info_insert_check(struct sta_info *sta)
sta               502 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               512 net/mac80211/sta_info.c 	if (WARN_ON(ether_addr_equal(sta->sta.addr, sdata->vif.addr) ||
sta               513 net/mac80211/sta_info.c 		    is_multicast_ether_addr(sta->sta.addr)))
sta               523 net/mac80211/sta_info.c 	    ieee80211_find_sta_by_ifaddr(&sdata->local->hw, sta->addr, NULL)) {
sta               534 net/mac80211/sta_info.c 				     struct sta_info *sta)
sta               539 net/mac80211/sta_info.c 	for (state = IEEE80211_STA_NOTEXIST; state < sta->sta_state; state++) {
sta               540 net/mac80211/sta_info.c 		err = drv_sta_state(local, sdata, sta, state, state + 1);
sta               551 net/mac80211/sta_info.c 			sta->uploaded = true;
sta               558 net/mac80211/sta_info.c 			   sta->sta.addr, state + 1, err);
sta               564 net/mac80211/sta_info.c 		WARN_ON(drv_sta_state(local, sdata, sta, state, state - 1));
sta               574 net/mac80211/sta_info.c 	struct sta_info *sta;
sta               577 net/mac80211/sta_info.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               578 net/mac80211/sta_info.c 		if (sdata != sta->sdata ||
sta               579 net/mac80211/sta_info.c 		    !test_sta_flag(sta, WLAN_STA_ASSOC))
sta               581 net/mac80211/sta_info.c 		if (!sta->sta.support_p2p_ps) {
sta               599 net/mac80211/sta_info.c static int sta_info_insert_finish(struct sta_info *sta) __acquires(RCU)
sta               601 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta               602 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               609 net/mac80211/sta_info.c 	if (sta_info_get_bss(sdata, sta->sta.addr)) {
sta               625 net/mac80211/sta_info.c 	set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               628 net/mac80211/sta_info.c 	err = sta_info_hash_add(local, sta);
sta               632 net/mac80211/sta_info.c 	list_add_tail_rcu(&sta->list, &local->sta_list);
sta               635 net/mac80211/sta_info.c 	err = sta_info_insert_drv_state(local, sdata, sta);
sta               639 net/mac80211/sta_info.c 	set_sta_flag(sta, WLAN_STA_INSERTED);
sta               641 net/mac80211/sta_info.c 	if (sta->sta_state >= IEEE80211_STA_ASSOC) {
sta               642 net/mac80211/sta_info.c 		ieee80211_recalc_min_chandef(sta->sdata);
sta               643 net/mac80211/sta_info.c 		if (!sta->sta.support_p2p_ps)
sta               644 net/mac80211/sta_info.c 			ieee80211_recalc_p2p_go_ps_allowed(sta->sdata);
sta               648 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               650 net/mac80211/sta_info.c 	ieee80211_sta_debugfs_add(sta);
sta               651 net/mac80211/sta_info.c 	rate_control_add_sta_debugfs(sta);
sta               654 net/mac80211/sta_info.c 	cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL);
sta               657 net/mac80211/sta_info.c 	sta_dbg(sdata, "Inserted STA %pM\n", sta->sta.addr);
sta               668 net/mac80211/sta_info.c 	sta_info_hash_del(local, sta);
sta               669 net/mac80211/sta_info.c 	list_del_rcu(&sta->list);
sta               673 net/mac80211/sta_info.c 	__cleanup_single_sta(sta);
sta               681 net/mac80211/sta_info.c int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU)
sta               683 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta               690 net/mac80211/sta_info.c 	err = sta_info_insert_check(sta);
sta               697 net/mac80211/sta_info.c 	err = sta_info_insert_finish(sta);
sta               703 net/mac80211/sta_info.c 	sta_info_free(local, sta);
sta               707 net/mac80211/sta_info.c int sta_info_insert(struct sta_info *sta)
sta               709 net/mac80211/sta_info.c 	int err = sta_info_insert_rcu(sta);
sta               761 net/mac80211/sta_info.c static void __sta_info_recalc_tim(struct sta_info *sta, bool ignore_pending)
sta               763 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta               766 net/mac80211/sta_info.c 	u8 ignore_for_tim = sta->sta.uapsd_queues;
sta               768 net/mac80211/sta_info.c 	u16 id = sta->sta.aid;
sta               770 net/mac80211/sta_info.c 	if (sta->sdata->vif.type == NL80211_IFTYPE_AP ||
sta               771 net/mac80211/sta_info.c 	    sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
sta               772 net/mac80211/sta_info.c 		if (WARN_ON_ONCE(!sta->sdata->bss))
sta               775 net/mac80211/sta_info.c 		ps = &sta->sdata->bss->ps;
sta               777 net/mac80211/sta_info.c 	} else if (ieee80211_vif_is_mesh(&sta->sdata->vif)) {
sta               778 net/mac80211/sta_info.c 		ps = &sta->sdata->u.mesh.ps;
sta               788 net/mac80211/sta_info.c 	if (sta->dead)
sta               809 net/mac80211/sta_info.c 		indicate_tim |= !skb_queue_empty(&sta->tx_filtered[ac]) ||
sta               810 net/mac80211/sta_info.c 				!skb_queue_empty(&sta->ps_tx_buf[ac]);
sta               817 net/mac80211/sta_info.c 			sta->driver_buffered_tids & tids;
sta               819 net/mac80211/sta_info.c 			sta->txq_buffered_tids & tids;
sta               833 net/mac80211/sta_info.c 	if (local->ops->set_tim && !WARN_ON(sta->dead)) {
sta               835 net/mac80211/sta_info.c 		drv_set_tim(local, &sta->sta, indicate_tim);
sta               843 net/mac80211/sta_info.c void sta_info_recalc_tim(struct sta_info *sta)
sta               845 net/mac80211/sta_info.c 	__sta_info_recalc_tim(sta, false);
sta               848 net/mac80211/sta_info.c static bool sta_info_buffer_expired(struct sta_info *sta, struct sk_buff *skb)
sta               859 net/mac80211/sta_info.c 	timeout = (sta->listen_interval *
sta               860 net/mac80211/sta_info.c 		   sta->sdata->vif.bss_conf.beacon_int *
sta               869 net/mac80211/sta_info.c 						struct sta_info *sta, int ac)
sta               882 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->tx_filtered[ac].lock, flags);
sta               883 net/mac80211/sta_info.c 		skb = skb_peek(&sta->tx_filtered[ac]);
sta               884 net/mac80211/sta_info.c 		if (sta_info_buffer_expired(sta, skb))
sta               885 net/mac80211/sta_info.c 			skb = __skb_dequeue(&sta->tx_filtered[ac]);
sta               888 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->tx_filtered[ac].lock, flags);
sta               908 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->ps_tx_buf[ac].lock, flags);
sta               909 net/mac80211/sta_info.c 		skb = skb_peek(&sta->ps_tx_buf[ac]);
sta               910 net/mac80211/sta_info.c 		if (sta_info_buffer_expired(sta, skb))
sta               911 net/mac80211/sta_info.c 			skb = __skb_dequeue(&sta->ps_tx_buf[ac]);
sta               914 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->ps_tx_buf[ac].lock, flags);
sta               925 net/mac80211/sta_info.c 		ps_dbg(sta->sdata, "Buffered frame expired (STA %pM)\n",
sta               926 net/mac80211/sta_info.c 		       sta->sta.addr);
sta               935 net/mac80211/sta_info.c 	sta_info_recalc_tim(sta);
sta               942 net/mac80211/sta_info.c 	return !(skb_queue_empty(&sta->ps_tx_buf[ac]) &&
sta               943 net/mac80211/sta_info.c 		 skb_queue_empty(&sta->tx_filtered[ac]));
sta               947 net/mac80211/sta_info.c 					     struct sta_info *sta)
sta               953 net/mac80211/sta_info.c 	if (!sta->sdata->bss &&
sta               954 net/mac80211/sta_info.c 	    !ieee80211_vif_is_mesh(&sta->sdata->vif))
sta               959 net/mac80211/sta_info.c 			sta_info_cleanup_expire_buffered_ac(local, sta, ac);
sta               964 net/mac80211/sta_info.c static int __must_check __sta_info_destroy_part1(struct sta_info *sta)
sta               972 net/mac80211/sta_info.c 	if (!sta)
sta               975 net/mac80211/sta_info.c 	local = sta->local;
sta               976 net/mac80211/sta_info.c 	sdata = sta->sdata;
sta               986 net/mac80211/sta_info.c 	set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               987 net/mac80211/sta_info.c 	ieee80211_sta_tear_down_BA_sessions(sta, AGG_STOP_DESTROY_STA);
sta               994 net/mac80211/sta_info.c 	drv_sync_rx_queues(local, sta);
sta               996 net/mac80211/sta_info.c 	ret = sta_info_hash_del(local, sta);
sta              1004 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) {
sta              1005 net/mac80211/sta_info.c 		drv_tdls_cancel_channel_switch(local, sdata, &sta->sta);
sta              1006 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL);
sta              1009 net/mac80211/sta_info.c 	list_del_rcu(&sta->list);
sta              1010 net/mac80211/sta_info.c 	sta->removed = true;
sta              1012 net/mac80211/sta_info.c 	drv_sta_pre_rcu_remove(local, sta->sdata, sta);
sta              1015 net/mac80211/sta_info.c 	    rcu_access_pointer(sdata->u.vlan.sta) == sta)
sta              1016 net/mac80211/sta_info.c 		RCU_INIT_POINTER(sdata->u.vlan.sta, NULL);
sta              1021 net/mac80211/sta_info.c static void __sta_info_destroy_part2(struct sta_info *sta)
sta              1023 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta              1024 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1036 net/mac80211/sta_info.c 	while (sta->sta_state == IEEE80211_STA_AUTHORIZED) {
sta              1037 net/mac80211/sta_info.c 		ret = sta_info_move_state(sta, IEEE80211_STA_ASSOC);
sta              1042 net/mac80211/sta_info.c 	ieee80211_free_sta_keys(local, sta);
sta              1045 net/mac80211/sta_info.c 	__sta_info_recalc_tim(sta, true);
sta              1047 net/mac80211/sta_info.c 	sta->dead = true;
sta              1052 net/mac80211/sta_info.c 	while (sta->sta_state > IEEE80211_STA_NONE) {
sta              1053 net/mac80211/sta_info.c 		ret = sta_info_move_state(sta, sta->sta_state - 1);
sta              1060 net/mac80211/sta_info.c 	if (sta->uploaded) {
sta              1061 net/mac80211/sta_info.c 		ret = drv_sta_state(local, sdata, sta, IEEE80211_STA_NONE,
sta              1066 net/mac80211/sta_info.c 	sta_dbg(sdata, "Removed STA %pM\n", sta->sta.addr);
sta              1070 net/mac80211/sta_info.c 		sta_set_sinfo(sta, sinfo, true);
sta              1071 net/mac80211/sta_info.c 	cfg80211_del_sta_sinfo(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL);
sta              1074 net/mac80211/sta_info.c 	ieee80211_sta_debugfs_remove(sta);
sta              1076 net/mac80211/sta_info.c 	cleanup_single_sta(sta);
sta              1079 net/mac80211/sta_info.c int __must_check __sta_info_destroy(struct sta_info *sta)
sta              1081 net/mac80211/sta_info.c 	int err = __sta_info_destroy_part1(sta);
sta              1088 net/mac80211/sta_info.c 	__sta_info_destroy_part2(sta);
sta              1095 net/mac80211/sta_info.c 	struct sta_info *sta;
sta              1099 net/mac80211/sta_info.c 	sta = sta_info_get(sdata, addr);
sta              1100 net/mac80211/sta_info.c 	ret = __sta_info_destroy(sta);
sta              1109 net/mac80211/sta_info.c 	struct sta_info *sta;
sta              1113 net/mac80211/sta_info.c 	sta = sta_info_get_bss(sdata, addr);
sta              1114 net/mac80211/sta_info.c 	ret = __sta_info_destroy(sta);
sta              1123 net/mac80211/sta_info.c 	struct sta_info *sta;
sta              1127 net/mac80211/sta_info.c 	list_for_each_entry_rcu(sta, &local->sta_list, list)
sta              1128 net/mac80211/sta_info.c 		if (sta_info_cleanup_expire_buffered(local, sta))
sta              1168 net/mac80211/sta_info.c 	struct sta_info *sta, *tmp;
sta              1178 net/mac80211/sta_info.c 	list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
sta              1179 net/mac80211/sta_info.c 		if (sdata == sta->sdata ||
sta              1180 net/mac80211/sta_info.c 		    (vlans && sdata->bss == sta->sdata->bss)) {
sta              1181 net/mac80211/sta_info.c 			if (!WARN_ON(__sta_info_destroy_part1(sta)))
sta              1182 net/mac80211/sta_info.c 				list_add(&sta->free_list, &free_list);
sta              1189 net/mac80211/sta_info.c 		list_for_each_entry_safe(sta, tmp, &free_list, free_list)
sta              1190 net/mac80211/sta_info.c 			__sta_info_destroy_part2(sta);
sta              1201 net/mac80211/sta_info.c 	struct sta_info *sta, *tmp;
sta              1205 net/mac80211/sta_info.c 	list_for_each_entry_safe(sta, tmp, &local->sta_list, list) {
sta              1206 net/mac80211/sta_info.c 		unsigned long last_active = ieee80211_sta_last_active(sta);
sta              1208 net/mac80211/sta_info.c 		if (sdata != sta->sdata)
sta              1212 net/mac80211/sta_info.c 			sta_dbg(sta->sdata, "expiring inactive STA %pM\n",
sta              1213 net/mac80211/sta_info.c 				sta->sta.addr);
sta              1216 net/mac80211/sta_info.c 			    test_sta_flag(sta, WLAN_STA_PS_STA))
sta              1219 net/mac80211/sta_info.c 			WARN_ON(__sta_info_destroy(sta));
sta              1232 net/mac80211/sta_info.c 	struct sta_info *sta;
sta              1238 net/mac80211/sta_info.c 	for_each_sta_info(local, addr, sta, tmp) {
sta              1240 net/mac80211/sta_info.c 		    !ether_addr_equal(sta->sdata->vif.addr, localaddr))
sta              1242 net/mac80211/sta_info.c 		if (!sta->uploaded)
sta              1244 net/mac80211/sta_info.c 		return &sta->sta;
sta              1254 net/mac80211/sta_info.c 	struct sta_info *sta;
sta              1259 net/mac80211/sta_info.c 	sta = sta_info_get_bss(vif_to_sdata(vif), addr);
sta              1260 net/mac80211/sta_info.c 	if (!sta)
sta              1263 net/mac80211/sta_info.c 	if (!sta->uploaded)
sta              1266 net/mac80211/sta_info.c 	return &sta->sta;
sta              1271 net/mac80211/sta_info.c void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta)
sta              1273 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1291 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_SP);
sta              1294 net/mac80211/sta_info.c 	sta->driver_buffered_tids = 0;
sta              1295 net/mac80211/sta_info.c 	sta->txq_buffered_tids = 0;
sta              1298 net/mac80211/sta_info.c 		drv_sta_notify(local, sdata, STA_NOTIFY_AWAKE, &sta->sta);
sta              1300 net/mac80211/sta_info.c 	for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
sta              1301 net/mac80211/sta_info.c 		if (!sta->sta.txq[i] || !txq_has_queue(sta->sta.txq[i]))
sta              1304 net/mac80211/sta_info.c 		schedule_and_wake_txq(local, to_txq_info(sta->sta.txq[i]));
sta              1310 net/mac80211/sta_info.c 	spin_lock(&sta->ps_lock);
sta              1315 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->tx_filtered[ac].lock, flags);
sta              1316 net/mac80211/sta_info.c 		skb_queue_splice_tail_init(&sta->tx_filtered[ac], &pending);
sta              1317 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->tx_filtered[ac].lock, flags);
sta              1322 net/mac80211/sta_info.c 		spin_lock_irqsave(&sta->ps_tx_buf[ac].lock, flags);
sta              1323 net/mac80211/sta_info.c 		skb_queue_splice_tail_init(&sta->ps_tx_buf[ac], &pending);
sta              1324 net/mac80211/sta_info.c 		spin_unlock_irqrestore(&sta->ps_tx_buf[ac].lock, flags);
sta              1332 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_PS_DELIVER);
sta              1337 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_PSPOLL);
sta              1338 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_UAPSD);
sta              1339 net/mac80211/sta_info.c 	spin_unlock(&sta->ps_lock);
sta              1345 net/mac80211/sta_info.c 	    !ieee80211_smps_is_restrictive(sta->known_smps_mode,
sta              1347 net/mac80211/sta_info.c 	    sta->known_smps_mode != sdata->bss->req_smps &&
sta              1348 net/mac80211/sta_info.c 	    sta_info_tx_streams(sta) != 1) {
sta              1351 net/mac80211/sta_info.c 		       sta->sta.addr);
sta              1353 net/mac80211/sta_info.c 					   sta->sta.addr,
sta              1359 net/mac80211/sta_info.c 	sta_info_recalc_tim(sta);
sta              1363 net/mac80211/sta_info.c 	       sta->sta.addr, sta->sta.aid, filtered, buffered);
sta              1365 net/mac80211/sta_info.c 	ieee80211_check_fast_xmit(sta);
sta              1368 net/mac80211/sta_info.c static void ieee80211_send_null_response(struct sta_info *sta, int tid,
sta              1372 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1378 net/mac80211/sta_info.c 	bool qos = sta->sta.wme;
sta              1407 net/mac80211/sta_info.c 	memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN);
sta              1441 net/mac80211/sta_info.c 		drv_allow_buffered_frames(local, sta, BIT(tid), 1,
sta              1455 net/mac80211/sta_info.c 	ieee80211_xmit(sdata, sta, skb, 0);
sta              1476 net/mac80211/sta_info.c ieee80211_sta_ps_more_data(struct sta_info *sta, u8 ignored_acs,
sta              1495 net/mac80211/sta_info.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
sta              1496 net/mac80211/sta_info.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
sta              1504 net/mac80211/sta_info.c ieee80211_sta_ps_get_frames(struct sta_info *sta, int n_frames, u8 ignored_acs,
sta              1509 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1527 net/mac80211/sta_info.c 				sta->driver_buffered_tids & tids;
sta              1528 net/mac80211/sta_info.c 			*driver_release_tids |= sta->txq_buffered_tids & tids;
sta              1535 net/mac80211/sta_info.c 				skb = skb_dequeue(&sta->tx_filtered[ac]);
sta              1538 net/mac80211/sta_info.c 						&sta->ps_tx_buf[ac]);
sta              1553 net/mac80211/sta_info.c 		if (!skb_queue_empty(&sta->tx_filtered[ac]) ||
sta              1554 net/mac80211/sta_info.c 		    !skb_queue_empty(&sta->ps_tx_buf[ac]))
sta              1560 net/mac80211/sta_info.c ieee80211_sta_ps_deliver_response(struct sta_info *sta,
sta              1564 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1571 net/mac80211/sta_info.c 	set_sta_flag(sta, WLAN_STA_SP);
sta              1575 net/mac80211/sta_info.c 	ieee80211_sta_ps_get_frames(sta, n_frames, ignored_acs, reason,
sta              1578 net/mac80211/sta_info.c 	more_data = ieee80211_sta_ps_more_data(sta, ignored_acs, reason, driver_release_tids);
sta              1608 net/mac80211/sta_info.c 		ieee80211_send_null_response(sta, tid, reason, true, false);
sta              1701 net/mac80211/sta_info.c 		drv_allow_buffered_frames(local, sta, tids, num,
sta              1708 net/mac80211/sta_info.c 				sta, find_highest_prio_tid(tids),
sta              1711 net/mac80211/sta_info.c 		sta_info_recalc_tim(sta);
sta              1725 net/mac80211/sta_info.c 		drv_release_buffered_frames(local, sta, driver_release_tids,
sta              1738 net/mac80211/sta_info.c 		if (!sta->sta.txq[0])
sta              1741 net/mac80211/sta_info.c 		for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) {
sta              1742 net/mac80211/sta_info.c 			if (!sta->sta.txq[tid] ||
sta              1744 net/mac80211/sta_info.c 			    txq_has_queue(sta->sta.txq[tid]))
sta              1747 net/mac80211/sta_info.c 			sta_info_recalc_tim(sta);
sta              1753 net/mac80211/sta_info.c void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta)
sta              1755 net/mac80211/sta_info.c 	u8 ignore_for_response = sta->sta.uapsd_queues;
sta              1765 net/mac80211/sta_info.c 	ieee80211_sta_ps_deliver_response(sta, 1, ignore_for_response,
sta              1769 net/mac80211/sta_info.c void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta)
sta              1771 net/mac80211/sta_info.c 	int n_frames = sta->sta.max_sp;
sta              1772 net/mac80211/sta_info.c 	u8 delivery_enabled = sta->sta.uapsd_queues;
sta              1783 net/mac80211/sta_info.c 	switch (sta->sta.max_sp) {
sta              1799 net/mac80211/sta_info.c 	ieee80211_sta_ps_deliver_response(sta, n_frames, ~delivery_enabled,
sta              1806 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1808 net/mac80211/sta_info.c 	trace_api_sta_block_awake(sta->local, pubsta, block);
sta              1811 net/mac80211/sta_info.c 		set_sta_flag(sta, WLAN_STA_PS_DRIVER);
sta              1812 net/mac80211/sta_info.c 		ieee80211_clear_fast_xmit(sta);
sta              1816 net/mac80211/sta_info.c 	if (!test_sta_flag(sta, WLAN_STA_PS_DRIVER))
sta              1819 net/mac80211/sta_info.c 	if (!test_sta_flag(sta, WLAN_STA_PS_STA)) {
sta              1820 net/mac80211/sta_info.c 		set_sta_flag(sta, WLAN_STA_PS_DELIVER);
sta              1821 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_DRIVER);
sta              1822 net/mac80211/sta_info.c 		ieee80211_queue_work(hw, &sta->drv_deliver_wk);
sta              1823 net/mac80211/sta_info.c 	} else if (test_sta_flag(sta, WLAN_STA_PSPOLL) ||
sta              1824 net/mac80211/sta_info.c 		   test_sta_flag(sta, WLAN_STA_UAPSD)) {
sta              1826 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_DRIVER);
sta              1827 net/mac80211/sta_info.c 		ieee80211_queue_work(hw, &sta->drv_deliver_wk);
sta              1829 net/mac80211/sta_info.c 		clear_sta_flag(sta, WLAN_STA_PS_DRIVER);
sta              1830 net/mac80211/sta_info.c 		ieee80211_check_fast_xmit(sta);
sta              1837 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1838 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta              1842 net/mac80211/sta_info.c 	clear_sta_flag(sta, WLAN_STA_SP);
sta              1848 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1852 net/mac80211/sta_info.c 	trace_api_send_eosp_nullfunc(sta->local, pubsta, tid);
sta              1855 net/mac80211/sta_info.c 	more_data = ieee80211_sta_ps_more_data(sta, ~sta->sta.uapsd_queues,
sta              1858 net/mac80211/sta_info.c 	ieee80211_send_null_response(sta, tid, reason, false, more_data);
sta              1865 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1870 net/mac80211/sta_info.c 	trace_api_sta_set_buffered(sta->local, pubsta, tid, buffered);
sta              1873 net/mac80211/sta_info.c 		set_bit(tid, &sta->driver_buffered_tids);
sta              1875 net/mac80211/sta_info.c 		clear_bit(tid, &sta->driver_buffered_tids);
sta              1877 net/mac80211/sta_info.c 	sta_info_recalc_tim(sta);
sta              1884 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1885 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->sdata->local;
sta              1889 net/mac80211/sta_info.c 	if (sta->local->airtime_flags & AIRTIME_USE_TX)
sta              1891 net/mac80211/sta_info.c 	if (sta->local->airtime_flags & AIRTIME_USE_RX)
sta              1895 net/mac80211/sta_info.c 	sta->airtime[ac].tx_airtime += tx_airtime;
sta              1896 net/mac80211/sta_info.c 	sta->airtime[ac].rx_airtime += rx_airtime;
sta              1897 net/mac80211/sta_info.c 	sta->airtime[ac].deficit -= airtime;
sta              1902 net/mac80211/sta_info.c int sta_info_move_state(struct sta_info *sta,
sta              1907 net/mac80211/sta_info.c 	if (sta->sta_state == new_state)
sta              1914 net/mac80211/sta_info.c 		if (sta->sta_state != IEEE80211_STA_AUTH)
sta              1918 net/mac80211/sta_info.c 		if (sta->sta_state != IEEE80211_STA_NONE &&
sta              1919 net/mac80211/sta_info.c 		    sta->sta_state != IEEE80211_STA_ASSOC)
sta              1923 net/mac80211/sta_info.c 		if (sta->sta_state != IEEE80211_STA_AUTH &&
sta              1924 net/mac80211/sta_info.c 		    sta->sta_state != IEEE80211_STA_AUTHORIZED)
sta              1928 net/mac80211/sta_info.c 		if (sta->sta_state != IEEE80211_STA_ASSOC)
sta              1936 net/mac80211/sta_info.c 	sta_dbg(sta->sdata, "moving STA %pM to state %d\n",
sta              1937 net/mac80211/sta_info.c 		sta->sta.addr, new_state);
sta              1943 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_INSERTED)) {
sta              1944 net/mac80211/sta_info.c 		int err = drv_sta_state(sta->local, sta->sdata, sta,
sta              1945 net/mac80211/sta_info.c 					sta->sta_state, new_state);
sta              1954 net/mac80211/sta_info.c 		if (sta->sta_state == IEEE80211_STA_AUTH)
sta              1955 net/mac80211/sta_info.c 			clear_bit(WLAN_STA_AUTH, &sta->_flags);
sta              1958 net/mac80211/sta_info.c 		if (sta->sta_state == IEEE80211_STA_NONE) {
sta              1959 net/mac80211/sta_info.c 			set_bit(WLAN_STA_AUTH, &sta->_flags);
sta              1960 net/mac80211/sta_info.c 		} else if (sta->sta_state == IEEE80211_STA_ASSOC) {
sta              1961 net/mac80211/sta_info.c 			clear_bit(WLAN_STA_ASSOC, &sta->_flags);
sta              1962 net/mac80211/sta_info.c 			ieee80211_recalc_min_chandef(sta->sdata);
sta              1963 net/mac80211/sta_info.c 			if (!sta->sta.support_p2p_ps)
sta              1964 net/mac80211/sta_info.c 				ieee80211_recalc_p2p_go_ps_allowed(sta->sdata);
sta              1968 net/mac80211/sta_info.c 		if (sta->sta_state == IEEE80211_STA_AUTH) {
sta              1969 net/mac80211/sta_info.c 			set_bit(WLAN_STA_ASSOC, &sta->_flags);
sta              1970 net/mac80211/sta_info.c 			sta->assoc_at = ktime_get_boottime_ns();
sta              1971 net/mac80211/sta_info.c 			ieee80211_recalc_min_chandef(sta->sdata);
sta              1972 net/mac80211/sta_info.c 			if (!sta->sta.support_p2p_ps)
sta              1973 net/mac80211/sta_info.c 				ieee80211_recalc_p2p_go_ps_allowed(sta->sdata);
sta              1974 net/mac80211/sta_info.c 		} else if (sta->sta_state == IEEE80211_STA_AUTHORIZED) {
sta              1975 net/mac80211/sta_info.c 			ieee80211_vif_dec_num_mcast(sta->sdata);
sta              1976 net/mac80211/sta_info.c 			clear_bit(WLAN_STA_AUTHORIZED, &sta->_flags);
sta              1977 net/mac80211/sta_info.c 			ieee80211_clear_fast_xmit(sta);
sta              1978 net/mac80211/sta_info.c 			ieee80211_clear_fast_rx(sta);
sta              1982 net/mac80211/sta_info.c 		if (sta->sta_state == IEEE80211_STA_ASSOC) {
sta              1983 net/mac80211/sta_info.c 			ieee80211_vif_inc_num_mcast(sta->sdata);
sta              1984 net/mac80211/sta_info.c 			set_bit(WLAN_STA_AUTHORIZED, &sta->_flags);
sta              1985 net/mac80211/sta_info.c 			ieee80211_check_fast_xmit(sta);
sta              1986 net/mac80211/sta_info.c 			ieee80211_check_fast_rx(sta);
sta              1988 net/mac80211/sta_info.c 		if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
sta              1989 net/mac80211/sta_info.c 		    sta->sdata->vif.type == NL80211_IFTYPE_AP)
sta              1990 net/mac80211/sta_info.c 			cfg80211_send_layer2_update(sta->sdata->dev,
sta              1991 net/mac80211/sta_info.c 						    sta->sta.addr);
sta              1997 net/mac80211/sta_info.c 	sta->sta_state = new_state;
sta              2002 net/mac80211/sta_info.c u8 sta_info_tx_streams(struct sta_info *sta)
sta              2004 net/mac80211/sta_info.c 	struct ieee80211_sta_ht_cap *ht_cap = &sta->sta.ht_cap;
sta              2007 net/mac80211/sta_info.c 	if (!sta->sta.ht_cap.ht_supported)
sta              2010 net/mac80211/sta_info.c 	if (sta->sta.vht_cap.vht_supported) {
sta              2013 net/mac80211/sta_info.c 			le16_to_cpu(sta->sta.vht_cap.vht_mcs.tx_mcs_map);
sta              2038 net/mac80211/sta_info.c sta_get_last_rx_stats(struct sta_info *sta)
sta              2040 net/mac80211/sta_info.c 	struct ieee80211_sta_rx_stats *stats = &sta->rx_stats;
sta              2041 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta              2050 net/mac80211/sta_info.c 		cpustats = per_cpu_ptr(sta->pcpu_rx_stats, cpu);
sta              2107 net/mac80211/sta_info.c static int sta_set_rate_info_rx(struct sta_info *sta, struct rate_info *rinfo)
sta              2109 net/mac80211/sta_info.c 	u16 rate = READ_ONCE(sta_get_last_rx_stats(sta)->last_rate);
sta              2114 net/mac80211/sta_info.c 	sta_stats_decode_rate(sta->local, rate, rinfo);
sta              2118 net/mac80211/sta_info.c static void sta_set_tidstats(struct sta_info *sta,
sta              2122 net/mac80211/sta_info.c 	struct ieee80211_local *local = sta->local;
sta              2128 net/mac80211/sta_info.c 			start = u64_stats_fetch_begin(&sta->rx_stats.syncp);
sta              2129 net/mac80211/sta_info.c 			tidstats->rx_msdu = sta->rx_stats.msdu[tid];
sta              2130 net/mac80211/sta_info.c 		} while (u64_stats_fetch_retry(&sta->rx_stats.syncp, start));
sta              2137 net/mac80211/sta_info.c 		tidstats->tx_msdu = sta->tx_stats.msdu[tid];
sta              2143 net/mac80211/sta_info.c 		tidstats->tx_msdu_retries = sta->status_stats.msdu_retries[tid];
sta              2149 net/mac80211/sta_info.c 		tidstats->tx_msdu_failed = sta->status_stats.msdu_failed[tid];
sta              2158 net/mac80211/sta_info.c 					 to_txq_info(sta->sta.txq[tid]));
sta              2178 net/mac80211/sta_info.c void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
sta              2181 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              2187 net/mac80211/sta_info.c 	last_rxstats = sta_get_last_rx_stats(sta);
sta              2198 net/mac80211/sta_info.c 	drv_sta_statistics(local, sdata, &sta->sta, sinfo);
sta              2212 net/mac80211/sta_info.c 	sinfo->connected_time = ktime_get_seconds() - sta->last_connected;
sta              2213 net/mac80211/sta_info.c 	sinfo->assoc_at = sta->assoc_at;
sta              2215 net/mac80211/sta_info.c 		jiffies_to_msecs(jiffies - ieee80211_sta_last_active(sta));
sta              2221 net/mac80211/sta_info.c 			sinfo->tx_bytes += sta->tx_stats.bytes[ac];
sta              2228 net/mac80211/sta_info.c 			sinfo->tx_packets += sta->tx_stats.packets[ac];
sta              2234 net/mac80211/sta_info.c 		sinfo->rx_bytes += sta_get_stats_bytes(&sta->rx_stats);
sta              2236 net/mac80211/sta_info.c 		if (sta->pcpu_rx_stats) {
sta              2240 net/mac80211/sta_info.c 				cpurxs = per_cpu_ptr(sta->pcpu_rx_stats, cpu);
sta              2249 net/mac80211/sta_info.c 		sinfo->rx_packets = sta->rx_stats.packets;
sta              2250 net/mac80211/sta_info.c 		if (sta->pcpu_rx_stats) {
sta              2254 net/mac80211/sta_info.c 				cpurxs = per_cpu_ptr(sta->pcpu_rx_stats, cpu);
sta              2262 net/mac80211/sta_info.c 		sinfo->tx_retries = sta->status_stats.retry_count;
sta              2267 net/mac80211/sta_info.c 		sinfo->tx_failed = sta->status_stats.retry_failed;
sta              2273 net/mac80211/sta_info.c 			sinfo->rx_duration += sta->airtime[ac].rx_airtime;
sta              2279 net/mac80211/sta_info.c 			sinfo->tx_duration += sta->airtime[ac].tx_airtime;
sta              2284 net/mac80211/sta_info.c 		sinfo->airtime_weight = sta->airtime_weight;
sta              2288 net/mac80211/sta_info.c 	sinfo->rx_dropped_misc = sta->rx_stats.dropped;
sta              2289 net/mac80211/sta_info.c 	if (sta->pcpu_rx_stats) {
sta              2293 net/mac80211/sta_info.c 			cpurxs = per_cpu_ptr(sta->pcpu_rx_stats, cpu);
sta              2305 net/mac80211/sta_info.c 	if (ieee80211_hw_check(&sta->local->hw, SIGNAL_DBM) ||
sta              2306 net/mac80211/sta_info.c 	    ieee80211_hw_check(&sta->local->hw, SIGNAL_UNSPEC)) {
sta              2312 net/mac80211/sta_info.c 		if (!sta->pcpu_rx_stats &&
sta              2315 net/mac80211/sta_info.c 				-ewma_signal_read(&sta->rx_stats_avg.signal);
sta              2328 net/mac80211/sta_info.c 		if (!sta->pcpu_rx_stats)
sta              2337 net/mac80211/sta_info.c 				-ewma_signal_read(&sta->rx_stats_avg.chain_signal[i]);
sta              2342 net/mac80211/sta_info.c 		sta_set_rate_info_tx(sta, &sta->tx_stats.last_rate,
sta              2348 net/mac80211/sta_info.c 		if (sta_set_rate_info_rx(sta, &sinfo->rxrate) == 0)
sta              2354 net/mac80211/sta_info.c 			sta_set_tidstats(sta, &sinfo->pertid[i], i);
sta              2367 net/mac80211/sta_info.c 		sinfo->llid = sta->mesh->llid;
sta              2368 net/mac80211/sta_info.c 		sinfo->plid = sta->mesh->plid;
sta              2369 net/mac80211/sta_info.c 		sinfo->plink_state = sta->mesh->plink_state;
sta              2370 net/mac80211/sta_info.c 		if (test_sta_flag(sta, WLAN_STA_TOFFSET_KNOWN)) {
sta              2372 net/mac80211/sta_info.c 			sinfo->t_offset = sta->mesh->t_offset;
sta              2374 net/mac80211/sta_info.c 		sinfo->local_pm = sta->mesh->local_pm;
sta              2375 net/mac80211/sta_info.c 		sinfo->peer_pm = sta->mesh->peer_pm;
sta              2376 net/mac80211/sta_info.c 		sinfo->nonpeer_pm = sta->mesh->nonpeer_pm;
sta              2377 net/mac80211/sta_info.c 		sinfo->connected_to_gate = sta->mesh->connected_to_gate;
sta              2399 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              2401 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_SHORT_PREAMBLE))
sta              2403 net/mac80211/sta_info.c 	if (sta->sta.wme)
sta              2405 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_MFP))
sta              2407 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_AUTH))
sta              2409 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_ASSOC))
sta              2411 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_PEER))
sta              2414 net/mac80211/sta_info.c 	thr = sta_get_expected_throughput(sta);
sta              2422 net/mac80211/sta_info.c 	    sta->status_stats.ack_signal_filled) {
sta              2423 net/mac80211/sta_info.c 		sinfo->ack_signal = sta->status_stats.last_ack_signal;
sta              2428 net/mac80211/sta_info.c 	    sta->status_stats.ack_signal_filled) {
sta              2431 net/mac80211/sta_info.c 				&sta->status_stats.avg_ack_signal);
sta              2439 net/mac80211/sta_info.c 			airtime_link_metric_get(local, sta);
sta              2443 net/mac80211/sta_info.c u32 sta_get_expected_throughput(struct sta_info *sta)
sta              2445 net/mac80211/sta_info.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              2450 net/mac80211/sta_info.c 	if (test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
sta              2455 net/mac80211/sta_info.c 		thr = ref->ops->get_expected_throughput(sta->rate_ctrl_priv);
sta              2457 net/mac80211/sta_info.c 		thr = drv_get_expected_throughput(local, sta);
sta              2462 net/mac80211/sta_info.c unsigned long ieee80211_sta_last_active(struct sta_info *sta)
sta              2464 net/mac80211/sta_info.c 	struct ieee80211_sta_rx_stats *stats = sta_get_last_rx_stats(sta);
sta              2466 net/mac80211/sta_info.c 	if (!sta->status_stats.last_ack ||
sta              2467 net/mac80211/sta_info.c 	    time_after(stats->last_rx, sta->status_stats.last_ack))
sta              2469 net/mac80211/sta_info.c 	return sta->status_stats.last_ack;
sta              2472 net/mac80211/sta_info.c static void sta_update_codel_params(struct sta_info *sta, u32 thr)
sta              2474 net/mac80211/sta_info.c 	if (!sta->sdata->local->ops->wake_tx_queue)
sta              2477 net/mac80211/sta_info.c 	if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) {
sta              2478 net/mac80211/sta_info.c 		sta->cparams.target = MS2TIME(50);
sta              2479 net/mac80211/sta_info.c 		sta->cparams.interval = MS2TIME(300);
sta              2480 net/mac80211/sta_info.c 		sta->cparams.ecn = false;
sta              2482 net/mac80211/sta_info.c 		sta->cparams.target = MS2TIME(20);
sta              2483 net/mac80211/sta_info.c 		sta->cparams.interval = MS2TIME(100);
sta              2484 net/mac80211/sta_info.c 		sta->cparams.ecn = true;
sta              2491 net/mac80211/sta_info.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              2493 net/mac80211/sta_info.c 	sta_update_codel_params(sta, thr);
sta               174 net/mac80211/sta_info.h 	struct sta_info *sta;
sta               228 net/mac80211/sta_info.h 	struct sta_info *sta;
sta               627 net/mac80211/sta_info.h 	struct ieee80211_sta sta;
sta               630 net/mac80211/sta_info.h static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta)
sta               633 net/mac80211/sta_info.h 	return sta->mesh->plink_state;
sta               638 net/mac80211/sta_info.h static inline void set_sta_flag(struct sta_info *sta,
sta               644 net/mac80211/sta_info.h 	set_bit(flag, &sta->_flags);
sta               647 net/mac80211/sta_info.h static inline void clear_sta_flag(struct sta_info *sta,
sta               653 net/mac80211/sta_info.h 	clear_bit(flag, &sta->_flags);
sta               656 net/mac80211/sta_info.h static inline int test_sta_flag(struct sta_info *sta,
sta               659 net/mac80211/sta_info.h 	return test_bit(flag, &sta->_flags);
sta               662 net/mac80211/sta_info.h static inline int test_and_clear_sta_flag(struct sta_info *sta,
sta               668 net/mac80211/sta_info.h 	return test_and_clear_bit(flag, &sta->_flags);
sta               671 net/mac80211/sta_info.h static inline int test_and_set_sta_flag(struct sta_info *sta,
sta               677 net/mac80211/sta_info.h 	return test_and_set_bit(flag, &sta->_flags);
sta               680 net/mac80211/sta_info.h int sta_info_move_state(struct sta_info *sta,
sta               683 net/mac80211/sta_info.h static inline void sta_info_pre_move_state(struct sta_info *sta,
sta               688 net/mac80211/sta_info.h 	WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED));
sta               690 net/mac80211/sta_info.h 	ret = sta_info_move_state(sta, new_state);
sta               695 net/mac80211/sta_info.h void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
sta               699 net/mac80211/sta_info.h rcu_dereference_protected_tid_tx(struct sta_info *sta, int tid)
sta               701 net/mac80211/sta_info.h 	return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid],
sta               702 net/mac80211/sta_info.h 					 lockdep_is_held(&sta->lock) ||
sta               703 net/mac80211/sta_info.h 					 lockdep_is_held(&sta->ampdu_mlme.mtx));
sta               745 net/mac80211/sta_info.h void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
sta               755 net/mac80211/sta_info.h int sta_info_insert(struct sta_info *sta);
sta               756 net/mac80211/sta_info.h int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU);
sta               758 net/mac80211/sta_info.h int __must_check __sta_info_destroy(struct sta_info *sta);
sta               764 net/mac80211/sta_info.h void sta_info_recalc_tim(struct sta_info *sta);
sta               784 net/mac80211/sta_info.h void sta_set_rate_info_tx(struct sta_info *sta,
sta               787 net/mac80211/sta_info.h void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
sta               790 net/mac80211/sta_info.h u32 sta_get_expected_throughput(struct sta_info *sta);
sta               794 net/mac80211/sta_info.h u8 sta_info_tx_streams(struct sta_info *sta);
sta               796 net/mac80211/sta_info.h void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta);
sta               797 net/mac80211/sta_info.h void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta);
sta               798 net/mac80211/sta_info.h void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta);
sta               800 net/mac80211/sta_info.h unsigned long ieee80211_sta_last_active(struct sta_info *sta);
sta                44 net/mac80211/status.c 					    struct sta_info *sta,
sta                68 net/mac80211/status.c 	info->control.vif = &sta->sdata->vif;
sta                73 net/mac80211/status.c 	sta->status_stats.filtered++;
sta               106 net/mac80211/status.c 	set_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT);
sta               107 net/mac80211/status.c 	ieee80211_clear_fast_xmit(sta);
sta               143 net/mac80211/status.c 	if (test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta               144 net/mac80211/status.c 	    skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) {
sta               145 net/mac80211/status.c 		skb_queue_tail(&sta->tx_filtered[ac], skb);
sta               146 net/mac80211/status.c 		sta_info_recalc_tim(sta);
sta               155 net/mac80211/status.c 	if (!test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta               163 net/mac80211/status.c 	ps_dbg_ratelimited(sta->sdata,
sta               165 net/mac80211/status.c 			   skb_queue_len(&sta->tx_filtered[ac]),
sta               166 net/mac80211/status.c 			   !!test_sta_flag(sta, WLAN_STA_PS_STA), jiffies);
sta               170 net/mac80211/status.c static void ieee80211_check_pending_bar(struct sta_info *sta, u8 *addr, u8 tid)
sta               174 net/mac80211/status.c 	tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]);
sta               179 net/mac80211/status.c 	ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn);
sta               182 net/mac80211/status.c static void ieee80211_frame_acked(struct sta_info *sta, struct sk_buff *skb)
sta               185 net/mac80211/status.c 	struct ieee80211_local *local = sta->local;
sta               186 net/mac80211/status.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               190 net/mac80211/status.c 		sta->status_stats.last_ack = jiffies;
sta               192 net/mac80211/status.c 			sta->status_stats.last_ack_signal =
sta               194 net/mac80211/status.c 			sta->status_stats.ack_signal_filled = true;
sta               195 net/mac80211/status.c 			ewma_avg_signal_add(&sta->status_stats.avg_ack_signal,
sta               205 net/mac80211/status.c 		ieee80211_check_pending_bar(sta, hdr->addr1, tid);
sta               240 net/mac80211/status.c 			sta->known_smps_mode = smps_mode;
sta               245 net/mac80211/status.c static void ieee80211_set_bar_pending(struct sta_info *sta, u8 tid, u16 ssn)
sta               249 net/mac80211/status.c 	tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]);
sta               732 net/mac80211/status.c static void ieee80211_lost_packet(struct sta_info *sta,
sta               738 net/mac80211/status.c 	if (ieee80211_hw_check(&sta->local->hw, REPORTS_LOW_ACK))
sta               746 net/mac80211/status.c 	sta->status_stats.lost_packets++;
sta               747 net/mac80211/status.c 	if (!sta->sta.tdls &&
sta               748 net/mac80211/status.c 	    sta->status_stats.lost_packets < STA_LOST_PKT_THRESHOLD)
sta               757 net/mac80211/status.c 	if (sta->sta.tdls &&
sta               758 net/mac80211/status.c 	    (sta->status_stats.lost_packets < STA_LOST_TDLS_PKT_THRESHOLD ||
sta               760 net/mac80211/status.c 			 sta->status_stats.last_tdls_pkt_time +
sta               764 net/mac80211/status.c 	cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr,
sta               765 net/mac80211/status.c 				    sta->status_stats.lost_packets, GFP_ATOMIC);
sta               766 net/mac80211/status.c 	sta->status_stats.lost_packets = 0;
sta               869 net/mac80211/status.c 	struct sta_info *sta;
sta               885 net/mac80211/status.c 	if (status->sta) {
sta               886 net/mac80211/status.c 		sta = container_of(status->sta, struct sta_info, sta);
sta               887 net/mac80211/status.c 		shift = ieee80211_vif_get_shift(&sta->sdata->vif);
sta               890 net/mac80211/status.c 			clear_sta_flag(sta, WLAN_STA_SP);
sta               895 net/mac80211/status.c 		if (ieee80211_vif_is_mesh(&sta->sdata->vif) &&
sta               898 net/mac80211/status.c 				ieee80211_get_qos_ctl(hdr), sta, true, acked);
sta               900 net/mac80211/status.c 		if (!acked && test_sta_flag(sta, WLAN_STA_PS_STA)) {
sta               905 net/mac80211/status.c 			ieee80211_handle_filtered_frame(local, sta, skb);
sta               912 net/mac80211/status.c 			sta->tx_stats.last_rate =
sta               924 net/mac80211/status.c 			ieee80211_send_bar(&sta->sdata->vif, hdr->addr1,
sta               949 net/mac80211/status.c 				ieee80211_set_bar_pending(sta, tid, ssn);
sta               954 net/mac80211/status.c 			ieee80211_handle_filtered_frame(local, sta, skb);
sta               958 net/mac80211/status.c 				sta->status_stats.retry_failed++;
sta               959 net/mac80211/status.c 			sta->status_stats.retry_count += retry_count;
sta               963 net/mac80211/status.c 					sta->status_stats.msdu_failed[tid]++;
sta               965 net/mac80211/status.c 				sta->status_stats.msdu_retries[tid] +=
sta               971 net/mac80211/status.c 		if (ieee80211_vif_is_mesh(&sta->sdata->vif))
sta               972 net/mac80211/status.c 			ieee80211s_update_metric(local, sta, status);
sta               975 net/mac80211/status.c 			ieee80211_frame_acked(sta, skb);
sta               977 net/mac80211/status.c 		if ((sta->sdata->vif.type == NL80211_IFTYPE_STATION) &&
sta               979 net/mac80211/status.c 			ieee80211_sta_tx_notify(sta->sdata, (void *) skb->data,
sta               985 net/mac80211/status.c 			ieee80211_sta_register_airtime(&sta->sta, tid,
sta               990 net/mac80211/status.c 				if (sta->status_stats.lost_packets)
sta               991 net/mac80211/status.c 					sta->status_stats.lost_packets = 0;
sta               994 net/mac80211/status.c 				if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
sta               995 net/mac80211/status.c 					sta->status_stats.last_tdls_pkt_time =
sta               998 net/mac80211/status.c 				ieee80211_lost_packet(sta, info);
sta              1077 net/mac80211/status.c 	struct sta_info *sta;
sta              1081 net/mac80211/status.c 	for_each_sta_info(local, hdr->addr1, sta, tmp) {
sta              1083 net/mac80211/status.c 		if (!ether_addr_equal(hdr->addr2, sta->sdata->vif.addr))
sta              1086 net/mac80211/status.c 		status.sta = &sta->sta;
sta              1100 net/mac80211/status.c 	struct ieee80211_sta *pubsta = status->sta;
sta              1108 net/mac80211/status.c 	if (!status->sta)
sta              1119 net/mac80211/status.c 		struct sta_info *sta;
sta              1121 net/mac80211/status.c 		sta = container_of(pubsta, struct sta_info, sta);
sta              1124 net/mac80211/status.c 			sta->status_stats.retry_failed++;
sta              1125 net/mac80211/status.c 		sta->status_stats.retry_count += retry_count;
sta              1128 net/mac80211/status.c 			sta->status_stats.last_ack = jiffies;
sta              1130 net/mac80211/status.c 			if (sta->status_stats.lost_packets)
sta              1131 net/mac80211/status.c 				sta->status_stats.lost_packets = 0;
sta              1134 net/mac80211/status.c 			if (test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH))
sta              1135 net/mac80211/status.c 				sta->status_stats.last_tdls_pkt_time = jiffies;
sta              1136 net/mac80211/status.c 		} else if (test_sta_flag(sta, WLAN_STA_PS_STA)) {
sta              1139 net/mac80211/status.c 			ieee80211_lost_packet(sta, info);
sta              1143 net/mac80211/status.c 		if (ieee80211_vif_is_mesh(&sta->sdata->vif))
sta              1144 net/mac80211/status.c 			ieee80211s_update_metric(local, sta, status);
sta              1167 net/mac80211/status.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1170 net/mac80211/status.c 		.sta = pubsta,
sta              1176 net/mac80211/status.c 		sta->tx_stats.last_rate = info->status.rates[0];
sta              1182 net/mac80211/status.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              1183 net/mac80211/status.c 	cfg80211_cqm_pktloss_notify(sta->sdata->dev, sta->sta.addr,
sta               307 net/mac80211/tdls.c 				   struct sta_info *sta)
sta               311 net/mac80211/tdls.c 	struct cfg80211_chan_def uc = sta->tdls_chandef;
sta               312 net/mac80211/tdls.c 	enum nl80211_chan_width max_width = ieee80211_sta_cap_chan_bw(sta);
sta               344 net/mac80211/tdls.c 	       (uc.width > sta->tdls_chandef.width &&
sta               349 net/mac80211/tdls.c 	if (!cfg80211_chandef_identical(&uc, &sta->tdls_chandef)) {
sta               351 net/mac80211/tdls.c 			 sta->tdls_chandef.width, uc.width);
sta               357 net/mac80211/tdls.c 		sta->tdls_chandef = uc;
sta               371 net/mac80211/tdls.c 	struct sta_info *sta = NULL;
sta               433 net/mac80211/tdls.c 		sta = sta_info_get(sdata, peer);
sta               434 net/mac80211/tdls.c 		if (WARN_ON_ONCE(!sta)) {
sta               439 net/mac80211/tdls.c 		sta->tdls_chandef = sdata->vif.bss_conf.chandef;
sta               463 net/mac80211/tdls.c 		   ht_cap.ht_supported && sta->sta.ht_cap.ht_supported) {
sta               465 net/mac80211/tdls.c 		memcpy(&ht_cap, &sta->sta.ht_cap, sizeof(ht_cap));
sta               514 net/mac80211/tdls.c 		   vht_cap.vht_supported && sta->sta.vht_cap.vht_supported) {
sta               516 net/mac80211/tdls.c 		memcpy(&vht_cap, &sta->sta.vht_cap, sizeof(vht_cap));
sta               528 net/mac80211/tdls.c 		if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW))
sta               529 net/mac80211/tdls.c 			ieee80211_tdls_chandef_vht_upgrade(sdata, sta);
sta               551 net/mac80211/tdls.c 	struct sta_info *sta, *ap_sta;
sta               561 net/mac80211/tdls.c 	sta = sta_info_get(sdata, peer);
sta               563 net/mac80211/tdls.c 	if (WARN_ON_ONCE(!sta || !ap_sta)) {
sta               568 net/mac80211/tdls.c 	sta->tdls_chandef = sdata->vif.bss_conf.chandef;
sta               584 net/mac80211/tdls.c 	if (local->hw.queues >= IEEE80211_NUM_ACS && sta->sta.wme)
sta               607 net/mac80211/tdls.c 	if (!ap_sta->sta.ht_cap.ht_supported && sta->sta.ht_cap.ht_supported) {
sta               613 net/mac80211/tdls.c 		ieee80211_ie_build_ht_oper(pos, &sta->sta.ht_cap,
sta               622 net/mac80211/tdls.c 	    sta->sta.vht_cap.vht_supported) {
sta               627 net/mac80211/tdls.c 		if (test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW))
sta               628 net/mac80211/tdls.c 			ieee80211_tdls_chandef_vht_upgrade(sdata, sta);
sta               631 net/mac80211/tdls.c 		ieee80211_ie_build_vht_oper(pos, &sta->sta.vht_cap,
sta               632 net/mac80211/tdls.c 					    &sta->tdls_chandef);
sta               942 net/mac80211/tdls.c 	struct sta_info *sta;
sta               947 net/mac80211/tdls.c 	sta = sta_info_get(sdata, peer);
sta               952 net/mac80211/tdls.c 		if (sta) {
sta               953 net/mac80211/tdls.c 			set_sta_flag(sta, WLAN_STA_TDLS_INITIATOR);
sta               954 net/mac80211/tdls.c 			sta->sta.tdls_initiator = false;
sta               967 net/mac80211/tdls.c 		if (sta) {
sta               968 net/mac80211/tdls.c 			clear_sta_flag(sta, WLAN_STA_TDLS_INITIATOR);
sta               969 net/mac80211/tdls.c 			sta->sta.tdls_initiator = true;
sta               985 net/mac80211/tdls.c 	if (sta && test_sta_flag(sta, WLAN_STA_TDLS_INITIATOR))
sta              1033 net/mac80211/tdls.c 		sta = sta_info_get(sdata, peer);
sta              1034 net/mac80211/tdls.c 		try_resend = sta && test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH);
sta              1149 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1176 net/mac80211/tdls.c 	sta = sta_info_get(sdata, peer);
sta              1177 net/mac80211/tdls.c 	if (sta)
sta              1178 net/mac80211/tdls.c 		clear_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH);
sta              1249 net/mac80211/tdls.c 					 struct sta_info *sta)
sta              1267 net/mac80211/tdls.c 		if (width != conf->def.width && sta &&
sta              1268 net/mac80211/tdls.c 		    test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW)) {
sta              1272 net/mac80211/tdls.c 			bw = min(bw, ieee80211_sta_cap_rx_bw(sta));
sta              1273 net/mac80211/tdls.c 			if (bw != sta->sta.bandwidth) {
sta              1274 net/mac80211/tdls.c 				sta->sta.bandwidth = bw;
sta              1275 net/mac80211/tdls.c 				rate_control_rate_update(local, sband, sta,
sta              1292 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1296 net/mac80211/tdls.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
sta              1297 net/mac80211/tdls.c 		if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded ||
sta              1298 net/mac80211/tdls.c 		    !test_sta_flag(sta, WLAN_STA_AUTHORIZED) ||
sta              1299 net/mac80211/tdls.c 		    !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH) ||
sta              1300 net/mac80211/tdls.c 		    !sta->sta.ht_cap.ht_supported)
sta              1312 net/mac80211/tdls.c 				   struct sta_info *sta)
sta              1325 net/mac80211/tdls.c 	tdls_ht = (sta && sta->sta.ht_cap.ht_supported) ||
sta              1345 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1383 net/mac80211/tdls.c 		sta = sta_info_get(sdata, peer);
sta              1384 net/mac80211/tdls.c 		if (!sta) {
sta              1390 net/mac80211/tdls.c 		iee80211_tdls_recalc_chanctx(sdata, sta);
sta              1391 net/mac80211/tdls.c 		iee80211_tdls_recalc_ht_protection(sdata, sta);
sta              1393 net/mac80211/tdls.c 		set_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH);
sta              1490 net/mac80211/tdls.c ieee80211_tdls_ch_sw_tmpl_get(struct sta_info *sta, u8 oper_class,
sta              1494 net/mac80211/tdls.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1526 net/mac80211/tdls.c 	skb = ieee80211_tdls_build_mgmt_packet_data(sdata, sta->sta.addr,
sta              1528 net/mac80211/tdls.c 					      0, 0, !sta->sta.tdls_initiator,
sta              1554 net/mac80211/tdls.c 		 sta->sta.addr, chandef->chan->center_freq, chandef->width);
sta              1565 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1571 net/mac80211/tdls.c 	sta = sta_info_get(sdata, addr);
sta              1572 net/mac80211/tdls.c 	if (!sta) {
sta              1580 net/mac80211/tdls.c 	if (!test_sta_flag(sta, WLAN_STA_TDLS_CHAN_SWITCH)) {
sta              1587 net/mac80211/tdls.c 	skb = ieee80211_tdls_ch_sw_tmpl_get(sta, oper_class, chandef,
sta              1594 net/mac80211/tdls.c 	ret = drv_tdls_channel_switch(local, sdata, &sta->sta, oper_class,
sta              1597 net/mac80211/tdls.c 		set_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL);
sta              1612 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1615 net/mac80211/tdls.c 	sta = sta_info_get(sdata, addr);
sta              1616 net/mac80211/tdls.c 	if (!sta) {
sta              1623 net/mac80211/tdls.c 	if (!test_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL)) {
sta              1629 net/mac80211/tdls.c 	drv_tdls_cancel_channel_switch(local, sdata, &sta->sta);
sta              1630 net/mac80211/tdls.c 	clear_sta_flag(sta, WLAN_STA_TDLS_OFF_CHANNEL);
sta              1637 net/mac80211/tdls.c ieee80211_tdls_ch_sw_resp_tmpl_get(struct sta_info *sta,
sta              1640 net/mac80211/tdls.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              1647 net/mac80211/tdls.c 	skb = ieee80211_tdls_build_mgmt_packet_data(sdata, sta->sta.addr,
sta              1649 net/mac80211/tdls.c 					0, 0, !sta->sta.tdls_initiator,
sta              1675 net/mac80211/tdls.c 		 sta->sta.addr);
sta              1685 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1703 net/mac80211/tdls.c 	sta = sta_info_get(sdata, tf->sa);
sta              1704 net/mac80211/tdls.c 	if (!sta || !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH)) {
sta              1711 net/mac80211/tdls.c 	params.sta = &sta->sta;
sta              1736 net/mac80211/tdls.c 	if (local_initiator == sta->sta.tdls_initiator) {
sta              1746 net/mac80211/tdls.c 		ieee80211_tdls_ch_sw_resp_tmpl_get(sta, &params.ch_sw_tm_ie);
sta              1778 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1869 net/mac80211/tdls.c 	sta = sta_info_get(sdata, tf->sa);
sta              1870 net/mac80211/tdls.c 	if (!sta || !test_sta_flag(sta, WLAN_STA_TDLS_PEER_AUTH)) {
sta              1877 net/mac80211/tdls.c 	params.sta = &sta->sta;
sta              1882 net/mac80211/tdls.c 	if (local_initiator == sta->sta.tdls_initiator) {
sta              1889 net/mac80211/tdls.c 	if (!sta->sta.ht_cap.ht_supported && elems.sec_chan_offs &&
sta              1901 net/mac80211/tdls.c 		ieee80211_tdls_ch_sw_resp_tmpl_get(sta,
sta              1955 net/mac80211/tdls.c 	struct sta_info *sta;
sta              1959 net/mac80211/tdls.c 	list_for_each_entry_rcu(sta, &sdata->local->sta_list, list) {
sta              1960 net/mac80211/tdls.c 		if (!sta->sta.tdls || sta->sdata != sdata || !sta->uploaded ||
sta              1961 net/mac80211/tdls.c 		    !test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              1964 net/mac80211/tdls.c 		ieee80211_tdls_oper_request(&sdata->vif, sta->sta.addr,
sta              2000 net/mac80211/tdls.c 	struct ieee80211_sta *sta;
sta              2003 net/mac80211/tdls.c 	sta = ieee80211_find_sta(&sdata->vif, peer);
sta              2004 net/mac80211/tdls.c 	if (!sta || !sta->tdls) {
sta               302 net/mac80211/tkip.c 		drv_update_tkip_key(key->local, sdata, &key->conf, key->sta,
sta                25 net/mac80211/trace.h #define STA_ASSIGN	(sta ? memcpy(__entry->sta_addr, sta->addr, ETH_ALEN) : memset(__entry->sta_addr, 0, ETH_ALEN))
sta                99 net/mac80211/trace.h #define AMPDU_ACTION_ASSIGN	STA_NAMED_ASSIGN(params->sta);				\
sta               556 net/mac80211/trace.h 		 struct ieee80211_sta *sta, bool set),
sta               558 net/mac80211/trace.h 	TP_ARGS(local, sta, set),
sta               581 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta               584 net/mac80211/trace.h 	TP_ARGS(local, cmd, sdata, sta, key),
sta               610 net/mac80211/trace.h 		 struct ieee80211_sta *sta, u32 iv32),
sta               612 net/mac80211/trace.h 	TP_ARGS(local, sdata, conf, sta, iv32),
sta               775 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               777 net/mac80211/trace.h 	TP_ARGS(local, sdata, cmd, sta),
sta               802 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta               806 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta, old_state, new_state),
sta               834 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               836 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta),
sta               850 net/mac80211/trace.h 		__entry->txpwr = sta->txpwr.power;
sta               851 net/mac80211/trace.h 		__entry->type = sta->txpwr.type;
sta               864 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta               867 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta, changed),
sta               892 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               894 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta),
sta               917 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               918 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta               924 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               925 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta               931 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               932 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta               938 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               939 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta               945 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               946 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta               952 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta               953 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta)
sta              1395 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta              1400 net/mac80211/trace.h 	TP_ARGS(local, sta, tids, num_frames, reason, more_data),
sta              1430 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta              1435 net/mac80211/trace.h 	TP_ARGS(local, sta, tids, num_frames, reason, more_data)
sta              1440 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta              1445 net/mac80211/trace.h 	TP_ARGS(local, sta, tids, num_frames, reason, more_data)
sta              1766 net/mac80211/trace.h 	TP_PROTO(struct ieee80211_sta *sta),
sta              1768 net/mac80211/trace.h 	TP_ARGS(sta),
sta              1933 net/mac80211/trace.h 	TP_PROTO(struct ieee80211_sta *sta, u16 tid),
sta              1935 net/mac80211/trace.h 	TP_ARGS(sta, tid),
sta              1977 net/mac80211/trace.h 	TP_PROTO(struct ieee80211_sta *sta, u16 tid),
sta              1979 net/mac80211/trace.h 	TP_ARGS(sta, tid),
sta              2153 net/mac80211/trace.h 		 struct ieee80211_sta *sta, bool block),
sta              2155 net/mac80211/trace.h 	TP_ARGS(local, sta, block),
sta              2253 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta              2255 net/mac80211/trace.h 	TP_ARGS(local, sta),
sta              2275 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta              2278 net/mac80211/trace.h 	TP_ARGS(local, sta, tid),
sta              2300 net/mac80211/trace.h 		 struct ieee80211_sta *sta,
sta              2303 net/mac80211/trace.h 	TP_ARGS(local, sta, tid, buffered),
sta              2558 net/mac80211/trace.h 		 struct ieee80211_sta *sta, u8 oper_class,
sta              2561 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta, oper_class, chandef),
sta              2590 net/mac80211/trace.h 		 struct ieee80211_sta *sta),
sta              2592 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta),
sta              2636 net/mac80211/trace.h 		STA_NAMED_ASSIGN(params->sta);
sta              2638 net/mac80211/trace.h 		__entry->peer_initiator = params->sta->tdls_initiator;
sta              2673 net/mac80211/trace.h 		struct ieee80211_sta *sta = txq->txq.sta;
sta               323 net/mac80211/tx.c 	if (tx->sta)
sta               324 net/mac80211/tx.c 		assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC);
sta               358 net/mac80211/tx.c 	struct sta_info *sta;
sta               382 net/mac80211/tx.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               386 net/mac80211/tx.c 			skb = skb_dequeue(&sta->ps_tx_buf[ac]);
sta               387 net/mac80211/tx.c 			total += skb_queue_len(&sta->ps_tx_buf[ac]);
sta               465 net/mac80211/tx.c static int ieee80211_use_mfp(__le16 fc, struct sta_info *sta,
sta               471 net/mac80211/tx.c 	if (sta == NULL || !test_sta_flag(sta, WLAN_STA_MFP))
sta               483 net/mac80211/tx.c 	struct sta_info *sta = tx->sta;
sta               488 net/mac80211/tx.c 	if (unlikely(!sta))
sta               491 net/mac80211/tx.c 	if (unlikely((test_sta_flag(sta, WLAN_STA_PS_STA) ||
sta               492 net/mac80211/tx.c 		      test_sta_flag(sta, WLAN_STA_PS_DRIVER) ||
sta               493 net/mac80211/tx.c 		      test_sta_flag(sta, WLAN_STA_PS_DELIVER)) &&
sta               503 net/mac80211/tx.c 		ps_dbg(sta->sdata, "STA %pM aid %d: PS buffer for AC %d\n",
sta               504 net/mac80211/tx.c 		       sta->sta.addr, sta->sta.aid, ac);
sta               509 net/mac80211/tx.c 		spin_lock(&sta->ps_lock);
sta               515 net/mac80211/tx.c 		if (!test_sta_flag(sta, WLAN_STA_PS_STA) &&
sta               516 net/mac80211/tx.c 		    !test_sta_flag(sta, WLAN_STA_PS_DRIVER) &&
sta               517 net/mac80211/tx.c 		    !test_sta_flag(sta, WLAN_STA_PS_DELIVER)) {
sta               518 net/mac80211/tx.c 			spin_unlock(&sta->ps_lock);
sta               522 net/mac80211/tx.c 		if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) {
sta               523 net/mac80211/tx.c 			struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]);
sta               526 net/mac80211/tx.c 			       sta->sta.addr, ac);
sta               535 net/mac80211/tx.c 		skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb);
sta               536 net/mac80211/tx.c 		spin_unlock(&sta->ps_lock);
sta               547 net/mac80211/tx.c 		sta_info_recalc_tim(sta);
sta               550 net/mac80211/tx.c 	} else if (unlikely(test_sta_flag(sta, WLAN_STA_PS_STA))) {
sta               553 net/mac80211/tx.c 		       sta->sta.addr);
sta               598 net/mac80211/tx.c 	if (tx->sta &&
sta               599 net/mac80211/tx.c 	    (key = rcu_dereference(tx->sta->ptk[tx->sta->ptk_idx])))
sta               635 net/mac80211/tx.c 			    !ieee80211_use_mfp(hdr->frame_control, tx->sta,
sta               660 net/mac80211/tx.c 	} else if (!ieee80211_is_mgmt(hdr->frame_control) && tx->sta &&
sta               661 net/mac80211/tx.c 		   test_sta_flag(tx->sta, WLAN_STA_USES_ENCRYPTION)) {
sta               719 net/mac80211/tx.c 	     (tx->sta && test_sta_flag(tx->sta, WLAN_STA_SHORT_PREAMBLE))))
sta               728 net/mac80211/tx.c 	if (tx->sta)
sta               729 net/mac80211/tx.c 		assoc = test_sta_flag(tx->sta, WLAN_STA_ASSOC);
sta               736 net/mac80211/tx.c 		 !rate_usable_index_exists(sband, &tx->sta->sta),
sta               748 net/mac80211/tx.c 	rate_control_get_rate(tx->sdata, tx->sta, &txrc);
sta               750 net/mac80211/tx.c 	if (tx->sta && !info->control.skip_table)
sta               751 net/mac80211/tx.c 		ratetbl = rcu_dereference(tx->sta->sta.rates);
sta               774 net/mac80211/tx.c 		if (tx->sta && ieee80211_is_data(hdr->frame_control))
sta               775 net/mac80211/tx.c 			tx->sta->tx_stats.last_rate = txrc.reported_rate;
sta               776 net/mac80211/tx.c 	} else if (tx->sta)
sta               777 net/mac80211/tx.c 		tx->sta->tx_stats.last_rate = txrc.reported_rate;
sta               792 net/mac80211/tx.c static __le16 ieee80211_tx_next_seq(struct sta_info *sta, int tid)
sta               794 net/mac80211/tx.c 	u16 *seq = &sta->tid_seq[tid];
sta               842 net/mac80211/tx.c 		if (tx->sta)
sta               843 net/mac80211/tx.c 			tx->sta->tx_stats.msdu[IEEE80211_NUM_TIDS]++;
sta               852 net/mac80211/tx.c 	if (!tx->sta)
sta               857 net/mac80211/tx.c 	tx->sta->tx_stats.msdu[tid]++;
sta               859 net/mac80211/tx.c 	hdr->seq_ctrl = ieee80211_tx_next_seq(tx->sta, tid);
sta              1005 net/mac80211/tx.c 	if (!tx->sta)
sta              1010 net/mac80211/tx.c 		tx->sta->tx_stats.bytes[ac] += skb->len;
sta              1013 net/mac80211/tx.c 		tx->sta->tx_stats.packets[ac]++;
sta              1099 net/mac80211/tx.c 	} else if (!tx->sta->sta.txq[tid]) {
sta              1100 net/mac80211/tx.c 		spin_lock(&tx->sta->lock);
sta              1119 net/mac80211/tx.c 		tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid);
sta              1129 net/mac80211/tx.c 				clear_sta_flag(tx->sta, WLAN_STA_SP);
sta              1130 net/mac80211/tx.c 				ps_dbg(tx->sta->sdata,
sta              1132 net/mac80211/tx.c 				       tx->sta->sta.addr, tx->sta->sta.aid);
sta              1141 net/mac80211/tx.c 		spin_unlock(&tx->sta->lock);
sta              1162 net/mac80211/tx.c 		     struct sta_info *sta, struct sk_buff *skb)
sta              1184 net/mac80211/tx.c 	if (likely(sta)) {
sta              1185 net/mac80211/tx.c 		if (!IS_ERR(sta))
sta              1186 net/mac80211/tx.c 			tx->sta = sta;
sta              1189 net/mac80211/tx.c 			tx->sta = rcu_dereference(sdata->u.vlan.sta);
sta              1190 net/mac80211/tx.c 			if (!tx->sta && sdata->wdev.use_4addr)
sta              1195 net/mac80211/tx.c 			tx->sta = sta_info_get_bss(sdata, hdr->addr1);
sta              1197 net/mac80211/tx.c 		if (!tx->sta && !is_multicast_ether_addr(hdr->addr1))
sta              1198 net/mac80211/tx.c 			tx->sta = sta_info_get(sdata, hdr->addr1);
sta              1201 net/mac80211/tx.c 	if (tx->sta && ieee80211_is_data_qos(hdr->frame_control) &&
sta              1209 net/mac80211/tx.c 		tid_tx = rcu_dereference(tx->sta->ampdu_mlme.tid_tx[tid]);
sta              1234 net/mac80211/tx.c 	if (!tx->sta)
sta              1236 net/mac80211/tx.c 	else if (test_and_clear_sta_flag(tx->sta, WLAN_STA_CLEAR_PS_FILT)) {
sta              1238 net/mac80211/tx.c 		ieee80211_check_fast_xmit(tx->sta);
sta              1248 net/mac80211/tx.c 					  struct sta_info *sta,
sta              1263 net/mac80211/tx.c 		    sta && sta->uploaded) {
sta              1268 net/mac80211/tx.c 			txq = sta->sta.txq[IEEE80211_NUM_TIDS];
sta              1270 net/mac80211/tx.c 	} else if (sta) {
sta              1273 net/mac80211/tx.c 		if (!sta->uploaded)
sta              1276 net/mac80211/tx.c 		txq = sta->sta.txq[tid];
sta              1353 net/mac80211/tx.c 	if (txqi->txq.sta) {
sta              1354 net/mac80211/tx.c 		struct sta_info *sta = container_of(txqi->txq.sta,
sta              1355 net/mac80211/tx.c 						    struct sta_info, sta);
sta              1356 net/mac80211/tx.c 		cparams = &sta->cparams;
sta              1451 net/mac80211/tx.c 			struct sta_info *sta,
sta              1463 net/mac80211/tx.c 	if (!sta) {
sta              1487 net/mac80211/tx.c 	txqi->txq.sta = &sta->sta;
sta              1489 net/mac80211/tx.c 	sta->sta.txq[tid] = &txqi->txq;
sta              1597 net/mac80211/tx.c 				struct sta_info *sta,
sta              1612 net/mac80211/tx.c 	txqi = ieee80211_get_txq(local, vif, sta, skb);
sta              1626 net/mac80211/tx.c 			       struct ieee80211_sta *sta,
sta              1688 net/mac80211/tx.c 		control.sta = sta;
sta              1702 net/mac80211/tx.c 			   struct sta_info *sta, bool txpending)
sta              1719 net/mac80211/tx.c 	if (sta && !sta->uploaded)
sta              1720 net/mac80211/tx.c 		sta = NULL;
sta              1722 net/mac80211/tx.c 	if (sta)
sta              1723 net/mac80211/tx.c 		pubsta = &sta->sta;
sta              1858 net/mac80211/tx.c 			      int band, struct ieee80211_sta **sta)
sta              1875 net/mac80211/tx.c 	if (sta) {
sta              1876 net/mac80211/tx.c 		if (tx.sta)
sta              1877 net/mac80211/tx.c 			*sta = &tx.sta->sta;
sta              1879 net/mac80211/tx.c 			*sta = NULL;
sta              1898 net/mac80211/tx.c 			 struct sta_info *sta, struct sk_buff *skb,
sta              1915 net/mac80211/tx.c 	res_prepare = ieee80211_tx_prepare(sdata, &tx, sta, skb);
sta              1935 net/mac80211/tx.c 	if (ieee80211_queue_skb(local, sdata, tx.sta, tx.skb))
sta              1940 net/mac80211/tx.c 					tx.sta, txpending);
sta              1986 net/mac80211/tx.c 		    struct sta_info *sta, struct sk_buff *skb,
sta              2022 net/mac80211/tx.c 	ieee80211_tx(sdata, sta, skb, false, txdata_flags);
sta              2377 net/mac80211/tx.c 	struct sta_info *sta;
sta              2381 net/mac80211/tx.c 		sta = rcu_dereference(sdata->u.vlan.sta);
sta              2382 net/mac80211/tx.c 		if (sta) {
sta              2383 net/mac80211/tx.c 			*sta_out = sta;
sta              2396 net/mac80211/tx.c 		sta = sta_info_get_bss(sdata, skb->data);
sta              2399 net/mac80211/tx.c 		sta = sta_info_get(sdata, sdata->u.wds.remote_addr);
sta              2409 net/mac80211/tx.c 			sta = sta_info_get(sdata, skb->data);
sta              2410 net/mac80211/tx.c 			if (sta && test_sta_flag(sta, WLAN_STA_TDLS_PEER)) {
sta              2411 net/mac80211/tx.c 				if (test_sta_flag(sta,
sta              2413 net/mac80211/tx.c 					*sta_out = sta;
sta              2430 net/mac80211/tx.c 		sta = sta_info_get(sdata, sdata->u.mgd.bssid);
sta              2431 net/mac80211/tx.c 		if (!sta)
sta              2438 net/mac80211/tx.c 	*sta_out = sta ?: ERR_PTR(-ENOENT);
sta              2463 net/mac80211/tx.c 					   struct sta_info *sta, u32 ctrl_flags)
sta              2484 net/mac80211/tx.c 	if (IS_ERR(sta))
sta              2485 net/mac80211/tx.c 		sta = NULL;
sta              2502 net/mac80211/tx.c 			memcpy(hdr.addr1, sta->sta.addr, ETH_ALEN);
sta              2507 net/mac80211/tx.c 			authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED);
sta              2508 net/mac80211/tx.c 			wme_sta = sta->sta.wme;
sta              2633 net/mac80211/tx.c 		tdls_peer = test_sta_flag(sta, WLAN_STA_TDLS_PEER);
sta              2700 net/mac80211/tx.c 	if (sta) {
sta              2701 net/mac80211/tx.c 		authorized = test_sta_flag(sta, WLAN_STA_AUTHORIZED);
sta              2702 net/mac80211/tx.c 		wme_sta = sta->sta.wme;
sta              2876 net/mac80211/tx.c void ieee80211_check_fast_xmit(struct sta_info *sta)
sta              2879 net/mac80211/tx.c 	struct ieee80211_local *local = sta->local;
sta              2880 net/mac80211/tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              2900 net/mac80211/tx.c 	spin_lock_bh(&sta->lock);
sta              2906 net/mac80211/tx.c 	if (!test_sta_flag(sta, WLAN_STA_AUTHORIZED))
sta              2909 net/mac80211/tx.c 	if (test_sta_flag(sta, WLAN_STA_PS_STA) ||
sta              2910 net/mac80211/tx.c 	    test_sta_flag(sta, WLAN_STA_PS_DRIVER) ||
sta              2911 net/mac80211/tx.c 	    test_sta_flag(sta, WLAN_STA_PS_DELIVER) ||
sta              2912 net/mac80211/tx.c 	    test_sta_flag(sta, WLAN_STA_CLEAR_PS_FILT))
sta              2943 net/mac80211/tx.c 		if (test_sta_flag(sta, WLAN_STA_TDLS_PEER)) {
sta              2976 net/mac80211/tx.c 			memcpy(hdr->addr1, sta->sta.addr, ETH_ALEN);
sta              2997 net/mac80211/tx.c 	if (sta->sta.wme) {
sta              3007 net/mac80211/tx.c 	build.key = rcu_access_pointer(sta->ptk[sta->ptk_idx]);
sta              3096 net/mac80211/tx.c 	old = rcu_dereference_protected(sta->fast_tx,
sta              3097 net/mac80211/tx.c 					lockdep_is_held(&sta->lock));
sta              3098 net/mac80211/tx.c 	rcu_assign_pointer(sta->fast_tx, fast_tx);
sta              3101 net/mac80211/tx.c 	spin_unlock_bh(&sta->lock);
sta              3106 net/mac80211/tx.c 	struct sta_info *sta;
sta              3109 net/mac80211/tx.c 	list_for_each_entry_rcu(sta, &local->sta_list, list)
sta              3110 net/mac80211/tx.c 		ieee80211_check_fast_xmit(sta);
sta              3117 net/mac80211/tx.c 	struct sta_info *sta;
sta              3121 net/mac80211/tx.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta              3122 net/mac80211/tx.c 		if (sdata != sta->sdata &&
sta              3123 net/mac80211/tx.c 		    (!sta->sdata->bss || sta->sdata->bss != sdata->bss))
sta              3125 net/mac80211/tx.c 		ieee80211_check_fast_xmit(sta);
sta              3131 net/mac80211/tx.c void ieee80211_clear_fast_xmit(struct sta_info *sta)
sta              3135 net/mac80211/tx.c 	spin_lock_bh(&sta->lock);
sta              3136 net/mac80211/tx.c 	fast_tx = rcu_dereference_protected(sta->fast_tx,
sta              3137 net/mac80211/tx.c 					    lockdep_is_held(&sta->lock));
sta              3138 net/mac80211/tx.c 	RCU_INIT_POINTER(sta->fast_tx, NULL);
sta              3139 net/mac80211/tx.c 	spin_unlock_bh(&sta->lock);
sta              3227 net/mac80211/tx.c 				      struct sta_info *sta,
sta              3236 net/mac80211/tx.c 	struct ieee80211_txq *txq = sta->sta.txq[tid];
sta              3240 net/mac80211/tx.c 	u8 max_subframes = sta->sta.max_amsdu_subframes;
sta              3242 net/mac80211/tx.c 	int max_amsdu_len = sta->sta.max_amsdu_len;
sta              3265 net/mac80211/tx.c 	if (sta->sta.max_rc_amsdu_len)
sta              3267 net/mac80211/tx.c 				      sta->sta.max_rc_amsdu_len);
sta              3269 net/mac80211/tx.c 	if (sta->sta.max_tid_amsdu_len[tid])
sta              3271 net/mac80211/tx.c 				      sta->sta.max_tid_amsdu_len[tid]);
sta              3364 net/mac80211/tx.c 				       struct sta_info *sta, u8 pn_offs,
sta              3379 net/mac80211/tx.c 		hdr->seq_ctrl = ieee80211_tx_next_seq(sta, tid);
sta              3387 net/mac80211/tx.c 		sta->tx_stats.msdu[tid] +=
sta              3390 net/mac80211/tx.c 		sta->tx_stats.msdu[tid]++;
sta              3397 net/mac80211/tx.c 	sta->tx_stats.bytes[skb_get_queue_mapping(skb)] += skb->len;
sta              3398 net/mac80211/tx.c 	sta->tx_stats.packets[skb_get_queue_mapping(skb)]++;
sta              3423 net/mac80211/tx.c 				struct sta_info *sta,
sta              3453 net/mac80211/tx.c 		tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]);
sta              3475 net/mac80211/tx.c 	    ieee80211_amsdu_aggregate(sdata, sta, fast_tx, skb))
sta              3520 net/mac80211/tx.c 	tx.sta = sta;
sta              3536 net/mac80211/tx.c 	if (ieee80211_queue_skb(local, sdata, sta, skb))
sta              3539 net/mac80211/tx.c 	ieee80211_xmit_fast_finish(sdata, sta, fast_tx->pn_offs,
sta              3547 net/mac80211/tx.c 	ieee80211_tx_frags(local, &sdata->vif, &sta->sta, &tx.skbs, false);
sta              3599 net/mac80211/tx.c 	if (txq->sta) {
sta              3600 net/mac80211/tx.c 		tx.sta = container_of(txq->sta, struct sta_info, sta);
sta              3609 net/mac80211/tx.c 			     !test_sta_flag(tx.sta, WLAN_STA_AUTHORIZED) &&
sta              3636 net/mac80211/tx.c 		struct sta_info *sta = container_of(txq->sta, struct sta_info,
sta              3637 net/mac80211/tx.c 						    sta);
sta              3644 net/mac80211/tx.c 		ieee80211_xmit_fast_finish(sta->sdata, sta, pn_offs,
sta              3719 net/mac80211/tx.c 	if (txqi->txq.sta) {
sta              3720 net/mac80211/tx.c 		struct sta_info *sta = container_of(txqi->txq.sta,
sta              3721 net/mac80211/tx.c 						struct sta_info, sta);
sta              3723 net/mac80211/tx.c 		if (sta->airtime[txqi->txq.ac].deficit < 0) {
sta              3724 net/mac80211/tx.c 			sta->airtime[txqi->txq.ac].deficit +=
sta              3725 net/mac80211/tx.c 				sta->airtime_weight;
sta              3765 net/mac80211/tx.c 		if (txqi->txq.sta &&
sta              3784 net/mac80211/tx.c 	struct sta_info *sta;
sta              3789 net/mac80211/tx.c 	if (!txqi->txq.sta)
sta              3800 net/mac80211/tx.c 		if (!iter->txq.sta) {
sta              3805 net/mac80211/tx.c 		sta = container_of(iter->txq.sta, struct sta_info, sta);
sta              3806 net/mac80211/tx.c 		if (sta->airtime[ac].deficit < 0)
sta              3807 net/mac80211/tx.c 			sta->airtime[ac].deficit += sta->airtime_weight;
sta              3811 net/mac80211/tx.c 	sta = container_of(txqi->txq.sta, struct sta_info, sta);
sta              3812 net/mac80211/tx.c 	if (sta->airtime[ac].deficit >= 0)
sta              3815 net/mac80211/tx.c 	sta->airtime[ac].deficit += sta->airtime_weight;
sta              3846 net/mac80211/tx.c 	struct sta_info *sta;
sta              3856 net/mac80211/tx.c 	if (ieee80211_lookup_ra_sta(sdata, skb, &sta))
sta              3859 net/mac80211/tx.c 	if (IS_ERR(sta))
sta              3860 net/mac80211/tx.c 		sta = NULL;
sta              3863 net/mac80211/tx.c 		u16 queue = __ieee80211_select_queue(sdata, sta, skb);
sta              3867 net/mac80211/tx.c 	if (sta) {
sta              3872 net/mac80211/tx.c 		fast_tx = rcu_dereference(sta->fast_tx);
sta              3875 net/mac80211/tx.c 		    ieee80211_xmit_fast(sdata, sta, fast_tx, skb))
sta              3917 net/mac80211/tx.c 					  sta, ctrl_flags);
sta              3923 net/mac80211/tx.c 		ieee80211_xmit(sdata, sta, skb, 0);
sta              3932 net/mac80211/tx.c static int ieee80211_change_da(struct sk_buff *skb, struct sta_info *sta)
sta              3942 net/mac80211/tx.c 	ether_addr_copy(eth->h_dest, sta->sta.addr);
sta              3960 net/mac80211/tx.c 		if (sdata->u.vlan.sta)
sta              3997 net/mac80211/tx.c 	struct sta_info *sta, *first = NULL;
sta              4002 net/mac80211/tx.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta              4003 net/mac80211/tx.c 		if (sdata != sta->sdata)
sta              4006 net/mac80211/tx.c 		if (unlikely(ether_addr_equal(eth->h_source, sta->sta.addr)))
sta              4010 net/mac80211/tx.c 			first = sta;
sta              4016 net/mac80211/tx.c 		if (unlikely(ieee80211_change_da(cloned_skb, sta))) {
sta              4074 net/mac80211/tx.c 	struct sta_info *sta;
sta              4078 net/mac80211/tx.c 	if (ieee80211_lookup_ra_sta(sdata, skb, &sta)) {
sta              4084 net/mac80211/tx.c 	skb = ieee80211_build_hdr(sdata, skb, info_flags, sta, 0);
sta              4089 net/mac80211/tx.c 	tx.sta = sta_info_get(sdata, hdr->addr1);
sta              4128 net/mac80211/tx.c 	struct sta_info *sta;
sta              4150 net/mac80211/tx.c 		sta = sta_info_get(sdata, hdr->addr1);
sta              4152 net/mac80211/tx.c 		result = __ieee80211_tx(local, &skbs, skb->len, sta, true);
sta              4783 net/mac80211/tx.c 		struct sta_info *sta;
sta              4786 net/mac80211/tx.c 		sta = sta_info_get(sdata, ifmgd->bssid);
sta              4787 net/mac80211/tx.c 		qos = sta && sta->sta.wme;
sta              4968 net/mac80211/tx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              4969 net/mac80211/tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              4990 net/mac80211/tx.c 	if (sta->reserved_tid == tid) {
sta              4995 net/mac80211/tx.c 	if (sta->reserved_tid != IEEE80211_TID_UNRESERVED) {
sta              5008 net/mac80211/tx.c 		set_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta              5009 net/mac80211/tx.c 		__ieee80211_stop_tx_ba_session(sta, tid,
sta              5016 net/mac80211/tx.c 	sta->reserved_tid = tid;
sta              5022 net/mac80211/tx.c 		clear_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta              5032 net/mac80211/tx.c 	struct sta_info *sta = container_of(pubsta, struct sta_info, sta);
sta              5033 net/mac80211/tx.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta              5048 net/mac80211/tx.c 	if (tid != sta->reserved_tid) {
sta              5053 net/mac80211/tx.c 	sta->reserved_tid = IEEE80211_TID_UNRESERVED;
sta               247 net/mac80211/util.c 	struct sta_info *sta;
sta               258 net/mac80211/util.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               259 net/mac80211/util.c 		if (sdata != sta->sdata)
sta               262 net/mac80211/util.c 		for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) {
sta               263 net/mac80211/util.c 			struct ieee80211_txq *txq = sta->sta.txq[i];
sta               797 net/mac80211/util.c 						struct ieee80211_sta *sta),
sta               800 net/mac80211/util.c 	struct sta_info *sta;
sta               802 net/mac80211/util.c 	list_for_each_entry_rcu(sta, &local->sta_list, list) {
sta               803 net/mac80211/util.c 		if (!sta->uploaded)
sta               806 net/mac80211/util.c 		iterator(data, &sta->sta);
sta               812 net/mac80211/util.c 					 struct ieee80211_sta *sta),
sta              2075 net/mac80211/util.c 	struct sta_info *sta;
sta              2079 net/mac80211/util.c 	list_for_each_entry(sta, &local->sta_list, list) {
sta              2082 net/mac80211/util.c 		if (!sta->uploaded || sta->sdata != sdata)
sta              2086 net/mac80211/util.c 		     state < sta->sta_state; state++)
sta              2087 net/mac80211/util.c 			WARN_ON(drv_sta_state(local, sta->sdata, sta, state,
sta              2139 net/mac80211/util.c 	struct sta_info *sta;
sta              2414 net/mac80211/util.c 	list_for_each_entry(sta, &local->sta_list, list) {
sta              2417 net/mac80211/util.c 		if (!sta->uploaded)
sta              2420 net/mac80211/util.c 		if (sta->sdata->vif.type != NL80211_IFTYPE_AP &&
sta              2421 net/mac80211/util.c 		    sta->sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
sta              2425 net/mac80211/util.c 		     state < sta->sta_state; state++)
sta              2426 net/mac80211/util.c 			WARN_ON(drv_sta_state(local, sta->sdata, sta, state,
sta              2479 net/mac80211/util.c 		list_for_each_entry(sta, &local->sta_list, list) {
sta              2482 net/mac80211/util.c 						sta, AGG_STOP_LOCAL_REQUEST);
sta              2483 net/mac80211/util.c 			clear_sta_flag(sta, WLAN_STA_BLOCK_BA);
sta               119 net/mac80211/vht.c 				    struct sta_info *sta)
sta               121 net/mac80211/vht.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap;
sta               128 net/mac80211/vht.c 	if (!sta->sta.ht_cap.ht_supported)
sta               165 net/mac80211/vht.c 	    !test_sta_flag(sta, WLAN_STA_TDLS_PEER))
sta               290 net/mac80211/vht.c 			   sta->addr);
sta               298 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160;
sta               301 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_80;
sta               313 net/mac80211/vht.c 			sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160;
sta               316 net/mac80211/vht.c 	sta->sta.bandwidth = ieee80211_sta_cur_vht_bw(sta);
sta               319 net/mac80211/vht.c 	if (sta->sta.max_amsdu_len == IEEE80211_MAX_MPDU_LEN_HT_3839)
sta               324 net/mac80211/vht.c 		sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454;
sta               327 net/mac80211/vht.c 		sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991;
sta               331 net/mac80211/vht.c 		sta->sta.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895;
sta               336 net/mac80211/vht.c enum ieee80211_sta_rx_bandwidth ieee80211_sta_cap_rx_bw(struct sta_info *sta)
sta               338 net/mac80211/vht.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap;
sta               342 net/mac80211/vht.c 		return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
sta               363 net/mac80211/vht.c enum nl80211_chan_width ieee80211_sta_cap_chan_bw(struct sta_info *sta)
sta               365 net/mac80211/vht.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap;
sta               369 net/mac80211/vht.c 		if (!sta->sta.ht_cap.ht_supported)
sta               372 net/mac80211/vht.c 		return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
sta               387 net/mac80211/vht.c ieee80211_sta_rx_bw_to_chan_width(struct sta_info *sta)
sta               389 net/mac80211/vht.c 	enum ieee80211_sta_rx_bandwidth cur_bw = sta->sta.bandwidth;
sta               390 net/mac80211/vht.c 	struct ieee80211_sta_vht_cap *vht_cap = &sta->sta.vht_cap;
sta               395 net/mac80211/vht.c 		if (!sta->sta.ht_cap.ht_supported)
sta               436 net/mac80211/vht.c enum ieee80211_sta_rx_bandwidth ieee80211_sta_cur_vht_bw(struct sta_info *sta)
sta               438 net/mac80211/vht.c 	struct ieee80211_sub_if_data *sdata = sta->sdata;
sta               442 net/mac80211/vht.c 	bw = ieee80211_sta_cap_rx_bw(sta);
sta               443 net/mac80211/vht.c 	bw = min(bw, sta->cur_max_bandwidth);
sta               450 net/mac80211/vht.c 	if (test_sta_flag(sta, WLAN_STA_TDLS_PEER) &&
sta               451 net/mac80211/vht.c 	    test_sta_flag(sta, WLAN_STA_TDLS_WIDER_BW))
sta               459 net/mac80211/vht.c void ieee80211_sta_set_rx_nss(struct sta_info *sta)
sta               464 net/mac80211/vht.c 	if (sta->sta.rx_nss)
sta               467 net/mac80211/vht.c 	if (sta->sta.ht_cap.ht_supported) {
sta               468 net/mac80211/vht.c 		if (sta->sta.ht_cap.mcs.rx_mask[0])
sta               470 net/mac80211/vht.c 		if (sta->sta.ht_cap.mcs.rx_mask[1])
sta               472 net/mac80211/vht.c 		if (sta->sta.ht_cap.mcs.rx_mask[2])
sta               474 net/mac80211/vht.c 		if (sta->sta.ht_cap.mcs.rx_mask[3])
sta               479 net/mac80211/vht.c 	if (sta->sta.vht_cap.vht_supported) {
sta               483 net/mac80211/vht.c 		rx_mcs_map = le16_to_cpu(sta->sta.vht_cap.vht_mcs.rx_mcs_map);
sta               497 net/mac80211/vht.c 	sta->sta.rx_nss = max_t(u8, 1, ht_rx_nss);
sta               501 net/mac80211/vht.c 				  struct sta_info *sta, u8 opmode,
sta               517 net/mac80211/vht.c 	if (sta->sta.rx_nss != nss) {
sta               518 net/mac80211/vht.c 		sta->sta.rx_nss = nss;
sta               526 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_20;
sta               529 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_40;
sta               532 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_80;
sta               535 net/mac80211/vht.c 		sta->cur_max_bandwidth = IEEE80211_STA_RX_BW_160;
sta               539 net/mac80211/vht.c 	new_bw = ieee80211_sta_cur_vht_bw(sta);
sta               540 net/mac80211/vht.c 	if (new_bw != sta->sta.bandwidth) {
sta               541 net/mac80211/vht.c 		sta->sta.bandwidth = new_bw;
sta               542 net/mac80211/vht.c 		sta_opmode.bw = ieee80211_sta_rx_bw_to_chan_width(sta);
sta               548 net/mac80211/vht.c 		cfg80211_sta_opmode_change_notify(sdata->dev, sta->addr,
sta               592 net/mac80211/vht.c 				 struct sta_info *sta, u8 opmode,
sta               598 net/mac80211/vht.c 	u32 changed = __ieee80211_vht_handle_opmode(sdata, sta, opmode, band);
sta               602 net/mac80211/vht.c 		rate_control_rate_update(local, sband, sta, changed);
sta                84 net/mac80211/wme.c 				     struct sta_info *sta, struct sk_buff *skb)
sta               108 net/mac80211/wme.c 	if (sta && sta->reserved_tid == skb->priority)
sta               142 net/mac80211/wme.c 			     struct sta_info *sta, struct sk_buff *skb)
sta               151 net/mac80211/wme.c 	else if (sta)
sta               152 net/mac80211/wme.c 		qos = sta->sta.wme;
sta               173 net/mac80211/wme.c 	return ieee80211_downgrade_queue(sdata, sta, skb);
sta               182 net/mac80211/wme.c 	struct sta_info *sta = NULL;
sta               198 net/mac80211/wme.c 		sta = rcu_dereference(sdata->u.vlan.sta);
sta               199 net/mac80211/wme.c 		if (sta)
sta               210 net/mac80211/wme.c 		sta = sta_info_get(sdata, skb->data);
sta               211 net/mac80211/wme.c 		if (sta)
sta               223 net/mac80211/wme.c 	if (!sta && ra && !is_multicast_ether_addr(ra))
sta               224 net/mac80211/wme.c 		sta = sta_info_get(sdata, ra);
sta               226 net/mac80211/wme.c 	ret = __ieee80211_select_queue(sdata, sta, skb);
sta                17 net/mac80211/wme.h 			     struct sta_info *sta, struct sk_buff *skb);
sta               277 net/mac80211/wpa.c 	if (!rx->sta || skb->len - hdrlen < 12)
sta               295 net/mac80211/wpa.c 					  skb->len - hdrlen, rx->sta->sta.addr,
sta               523 net/mac80211/wpa.c 	if (!rx->sta || data_len < 0)
sta               750 net/mac80211/wpa.c 	if (!rx->sta || data_len < 0)
sta               851 net/mac80211/wpa.c 	if (!rx->sta || !rx->sta->cipher_scheme ||
sta               858 net/mac80211/wpa.c 	cs = rx->sta->cipher_scheme;
sta              1261 net/mac80211/wpa.c 	if (rx->sta && rx->sta->cipher_scheme)