Lines Matching refs:status

492 	u16 status;
998 __le16 status, len;
1051 u16 status;
1085 u16 status;
1998 * right after TXFID_HDR.The TXFID_HDR contains the status short so payloadlen
2052 __le16 status;
2055 status = ((WifiCtlHdr *)ai->txfids[0].virtual_host_addr)->ctlhdr.status;
2059 bap_read(ai, &status, 2, BAP0);
2061 if (le16_to_cpu(status) & 2) /* Too many retries */
2063 if (le16_to_cpu(status) & 4) /* Transmit lifetime exceeded */
2065 if (le16_to_cpu(status) & 8) /* Aid fail */
2067 if (le16_to_cpu(status) & 0x10) /* MAC disabled */
2069 if (le16_to_cpu(status) & 0x20) /* Association lost */
2072 * exceeded, because that's the only status that really mean
2075 if ((le16_to_cpu(status) & 2) ||
2076 (le16_to_cpu(status) & 4)) {
2103 u16 status;
2112 status = transmit_802_3_packet(priv, fids[fid], skb->data, may_sleep);
2116 if (status == SUCCESS) {
2175 u16 status;
2184 status = transmit_802_11_packet(priv, fids[fid], skb->data, may_sleep);
2188 if (status == SUCCESS) {
3207 static void airo_print_status(const char *devname, u16 status)
3209 u8 reason = status & 0xFF;
3211 switch (status & 0xFF00) {
3213 switch (status) {
3228 airo_print_dbg(devname, "unknown status %x\n", status);
3250 airo_print_dbg(devname, "unknown status %x\n", status);
3259 u16 status;
3261 /* Get new status and acknowledge the link change */
3262 status = le16_to_cpu(IN4500(ai, LINKSTAT));
3265 if ((status == STAT_FORCELOSS) && (ai->scan_timeout > 0))
3268 airo_print_status(ai->dev->name, status);
3270 if ((status == STAT_ASSOC) || (status == STAT_REASSOC)) {
3322 if (le16_to_cpu(hdr.status) & 2)
3439 static void airo_handle_tx(struct airo_info *ai, u16 status)
3447 if (status & EV_TXEXC)
3459 OUT4500(ai, EVACK, status & (EV_TX | EV_TXCPY | EV_TXEXC));
3471 if (status & EV_TXEXC)
3474 OUT4500(ai, EVACK, status & (EV_TX | EV_TXEXC));
3486 OUT4500(ai, EVACK, status & (EV_TX | EV_TXCPY | EV_TXEXC));
3494 u16 status, savedInterrupts = 0;
3502 status = IN4500(ai, EVSTAT);
3503 if (!(status & STATUS_INTS) || (status == 0xffff))
3508 if (status & EV_AWAKE) {
3518 if (status & EV_MIC) {
3523 if (status & EV_LINK) {
3524 /* Link status changed */
3529 if (status & EV_RX)
3533 if (status & (EV_TX | EV_TXCPY | EV_TXEXC))
3534 airo_handle_tx(ai, status);
3536 if (status & ~STATUS_INTS & ~IGNORE_INTS) {
3537 airo_print_warn(ai->dev->name, "Got weird status %x",
3538 status & ~STATUS_INTS & ~IGNORE_INTS);
3615 else if ((rsp.status & 0xFF00) != 0) {
3739 if (le16_to_cpu(hdr.status) & 2)
3823 int i, status;
3833 status = readConfigRid(ai, lock);
3834 if (status != SUCCESS) return ERROR;
3836 status = readCapabilityRid(ai, &cap_rid, lock);
3837 if (status != SUCCESS) return ERROR;
3839 status = PC4500_readrid(ai, RID_RSSI, &rssi_rid, sizeof(rssi_rid), lock);
3840 if (status == SUCCESS) {
3885 int status;
3916 if (!aux_bap || rsp.status & 0xff00) {
3927 status = airo_readconfig(ai, dev, lock);
3928 if (status != SUCCESS)
3945 status = writeConfigRid(ai, lock);
3946 if (status != SUCCESS) return ERROR;
3950 status = writeSsidRid(ai, &mySsid, lock);
3951 if (status != SUCCESS) return ERROR;
3954 status = enable_MAC(ai, lock);
3955 if (status != SUCCESS)
4004 pRsp->status = IN4500(ai, STATUS);
4008 if ((pRsp->status & 0xff00)!=0 && pCmd->cmd != CMD_SOFTRESET)
4010 "cmd:%x status:%x rsp0:%x rsp1:%x rsp2:%x",
4011 pCmd->cmd, pRsp->status, pRsp->rsp0, pRsp->rsp1,
4018 // acknowledge processing the status/response
4035 int status = IN4500(ai, OFFSET0+whichbap);
4036 if (status & BAP_BUSY) {
4042 } else if (status & BAP_ERR) {
4045 status, whichbap);
4047 } else if (status & BAP_DONE) { // success
4144 u16 status;
4149 status = issuecommand(ai, &cmd, &rsp, true);
4150 if (status != 0) return status;
4151 if ((rsp.status & 0x7F00) != 0) {
4161 u16 status;
4187 if (rsp.status & 0x7f00)
4193 if ((status = PC4500_accessrid(ai, rid, CMD_ACCESS))!=SUCCESS) {
4194 rc = status;
4227 u16 status;
4272 if ((rsp.status & 0x7f00))
4277 if ((status = PC4500_accessrid(ai, rid, CMD_ACCESS)) != 0) {
4278 rc = status;
4314 if ((rsp.status & 0xFF00) != 0) {
4397 if ((rsp.status & 0xFF00) != 0) return ERROR;
4439 if ((rsp.status & 0xFF00) != 0) return ERROR;
4861 /*** Radio status */
5878 StatusRid status_rid; /* Card status info */
5957 StatusRid status_rid; /* Card status info */
6022 StatusRid status_rid; /* Card status info */
6159 StatusRid status_rid; /* Card status info */
7246 StatusRid status_rid; /* Card status info */
7778 /* The status */
7779 local->wstats.status = le16_to_cpu(status_rid.mode);
8226 int i, status;
8231 status = mpi_init_descriptors(ai);
8232 if (status != SUCCESS)
8233 return status;
8235 status = setup_card(ai, dev, 1);
8244 return status;