mac.c (b53d63ecce17c4ddf8636def9f6e8b865c3927f9) | mac.c (1b8714f7dcd8b41cd2843c42a6cc16ba2d4c899f) |
---|---|
1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 570 unchanged lines hidden (view full) --- 579 rs->rs_rssi_ext2 = MS(ads.ds_rxstatus4, 580 AR_RxRSSIAnt12); 581 } 582 if (ads.ds_rxstatus8 & AR_RxKeyIdxValid) 583 rs->rs_keyix = MS(ads.ds_rxstatus8, AR_KeyIdx); 584 else 585 rs->rs_keyix = ATH9K_RXKEYIX_INVALID; 586 | 1/* 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 570 unchanged lines hidden (view full) --- 579 rs->rs_rssi_ext2 = MS(ads.ds_rxstatus4, 580 AR_RxRSSIAnt12); 581 } 582 if (ads.ds_rxstatus8 & AR_RxKeyIdxValid) 583 rs->rs_keyix = MS(ads.ds_rxstatus8, AR_KeyIdx); 584 else 585 rs->rs_keyix = ATH9K_RXKEYIX_INVALID; 586 |
587 rs->rs_rate = RXSTATUS_RATE(ah, (&ads)); | 587 rs->rs_rate = MS(ads.ds_rxstatus0, AR_RxRate); |
588 rs->rs_more = (ads.ds_rxstatus1 & AR_RxMore) ? 1 : 0; 589 590 rs->rs_isaggr = (ads.ds_rxstatus8 & AR_RxAggr) ? 1 : 0; 591 rs->rs_moreaggr = 592 (ads.ds_rxstatus8 & AR_RxMoreAggr) ? 1 : 0; 593 rs->rs_antenna = MS(ads.ds_rxstatus3, AR_RxAntenna); 594 rs->rs_flags = 595 (ads.ds_rxstatus3 & AR_GI) ? ATH9K_RX_GI : 0; --- 325 unchanged lines hidden --- | 588 rs->rs_more = (ads.ds_rxstatus1 & AR_RxMore) ? 1 : 0; 589 590 rs->rs_isaggr = (ads.ds_rxstatus8 & AR_RxAggr) ? 1 : 0; 591 rs->rs_moreaggr = 592 (ads.ds_rxstatus8 & AR_RxMoreAggr) ? 1 : 0; 593 rs->rs_antenna = MS(ads.ds_rxstatus3, AR_RxAntenna); 594 rs->rs_flags = 595 (ads.ds_rxstatus3 & AR_GI) ? ATH9K_RX_GI : 0; --- 325 unchanged lines hidden --- |