Lines Matching refs:status

493 	u16 status;
999 __le16 status, len;
1052 u16 status;
1086 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);
2116 if (status == SUCCESS) {
2175 u16 status;
2184 status = transmit_802_11_packet (priv, fids[fid], skb->data);
2188 if (status == SUCCESS) {
3213 static void airo_print_status(const char *devname, u16 status)
3215 u8 reason = status & 0xFF;
3217 switch (status & 0xFF00) {
3219 switch (status) {
3234 airo_print_dbg(devname, "unknown status %x\n", status);
3256 airo_print_dbg(devname, "unknown status %x\n", status);
3265 u16 status;
3267 /* Get new status and acknowledge the link change */
3268 status = le16_to_cpu(IN4500(ai, LINKSTAT));
3271 if ((status == STAT_FORCELOSS) && (ai->scan_timeout > 0))
3274 airo_print_status(ai->dev->name, status);
3276 if ((status == STAT_ASSOC) || (status == STAT_REASSOC)) {
3330 if (le16_to_cpu(hdr.status) & 2)
3447 static void airo_handle_tx(struct airo_info *ai, u16 status)
3455 if (status & EV_TXEXC)
3467 OUT4500(ai, EVACK, status & (EV_TX | EV_TXCPY | EV_TXEXC));
3479 if (status & EV_TXEXC)
3482 OUT4500(ai, EVACK, status & (EV_TX | EV_TXEXC));
3494 OUT4500(ai, EVACK, status & (EV_TX | EV_TXCPY | EV_TXEXC));
3502 u16 status, savedInterrupts = 0;
3510 status = IN4500(ai, EVSTAT);
3511 if (!(status & STATUS_INTS) || (status == 0xffff))
3516 if (status & EV_AWAKE) {
3526 if (status & EV_MIC) {
3531 if (status & EV_LINK) {
3532 /* Link status changed */
3537 if (status & EV_RX)
3541 if (status & (EV_TX | EV_TXCPY | EV_TXEXC))
3542 airo_handle_tx(ai, status);
3544 if (status & ~STATUS_INTS & ~IGNORE_INTS) {
3545 airo_print_warn(ai->dev->name, "Got weird status %x",
3546 status & ~STATUS_INTS & ~IGNORE_INTS);
3623 else if ((rsp.status & 0xFF00) != 0) {
3747 if (le16_to_cpu(hdr.status) & 2)
3830 int i, status;
3840 status = readConfigRid(ai, lock);
3841 if (status != SUCCESS) return ERROR;
3843 status = readCapabilityRid(ai, &cap_rid, lock);
3844 if (status != SUCCESS) return ERROR;
3846 status = PC4500_readrid(ai, RID_RSSI, &rssi_rid, sizeof(rssi_rid), lock);
3847 if (status == SUCCESS) {
3894 int status;
3925 if (!aux_bap || rsp.status & 0xff00) {
3936 status = airo_readconfig(ai, mac, lock);
3937 if (status != SUCCESS)
3954 status = writeConfigRid(ai, lock);
3955 if (status != SUCCESS) return ERROR;
3959 status = writeSsidRid(ai, &mySsid, lock);
3960 if (status != SUCCESS) return ERROR;
3963 status = enable_MAC(ai, lock);
3964 if (status != SUCCESS)
4012 pRsp->status = IN4500(ai, STATUS);
4016 if ((pRsp->status & 0xff00)!=0 && pCmd->cmd != CMD_SOFTRESET)
4018 "cmd:%x status:%x rsp0:%x rsp1:%x rsp2:%x",
4019 pCmd->cmd, pRsp->status, pRsp->rsp0, pRsp->rsp1,
4026 // acknowledge processing the status/response
4043 int status = IN4500(ai, OFFSET0+whichbap);
4044 if (status & BAP_BUSY) {
4050 } else if (status & BAP_ERR) {
4053 status, whichbap);
4055 } else if (status & BAP_DONE) { // success
4152 u16 status;
4157 status = issuecommand(ai, &cmd, &rsp);
4158 if (status != 0) return status;
4159 if ((rsp.status & 0x7F00) != 0) {
4169 u16 status;
4195 if (rsp.status & 0x7f00)
4201 if ((status = PC4500_accessrid(ai, rid, CMD_ACCESS))!=SUCCESS) {
4202 rc = status;
4235 u16 status;
4280 if ((rsp.status & 0x7f00))
4285 if ((status = PC4500_accessrid(ai, rid, CMD_ACCESS)) != 0) {
4286 rc = status;
4322 if ((rsp.status & 0xFF00) != 0) {
4403 if ((rsp.status & 0xFF00) != 0) return ERROR;
4443 if ((rsp.status & 0xFF00) != 0) return ERROR;
4864 /*** Radio status */
5879 StatusRid status_rid; /* Card status info */
5956 StatusRid status_rid; /* Card status info */
6019 StatusRid status_rid; /* Card status info */
6152 StatusRid status_rid; /* Card status info */
7223 StatusRid status_rid; /* Card status info */
7771 /* The status */
7772 local->wstats.status = le16_to_cpu(status_rid.mode);
8224 int i, status;
8229 status = mpi_init_descriptors(ai);
8230 if (status != SUCCESS)
8231 return status;
8233 status = setup_card(ai, dev->dev_addr, 1);
8242 return status;