if_ath.c (cd196bb2d5d9b70f06c647d2620dc346a8307aa9) | if_ath.c (1fba0fdc15715a7a7d76a78aaff578118b3a2bc0) |
---|---|
1/*- 2 * Copyright (c) 2002-2006 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 400 unchanged lines hidden (view full) --- 409 goto bad2; 410 } 411 sc->sc_cabq = ath_txq_setup(sc, HAL_TX_QUEUE_CAB, 0); 412 if (sc->sc_cabq == NULL) { 413 if_printf(ifp, "unable to setup CAB xmit queue!\n"); 414 error = EIO; 415 goto bad2; 416 } | 1/*- 2 * Copyright (c) 2002-2006 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 400 unchanged lines hidden (view full) --- 409 goto bad2; 410 } 411 sc->sc_cabq = ath_txq_setup(sc, HAL_TX_QUEUE_CAB, 0); 412 if (sc->sc_cabq == NULL) { 413 if_printf(ifp, "unable to setup CAB xmit queue!\n"); 414 error = EIO; 415 goto bad2; 416 } |
417 ath_txq_init(sc, &sc->sc_mcastq, -1); /* NB: s/w q, qnum not used */ | 417 /* NB: s/w q, qnum used only by WITNESS */ 418 ath_txq_init(sc, &sc->sc_mcastq, HAL_NUM_TX_QUEUES+1); |
418 /* NB: insure BK queue is the lowest priority h/w queue */ 419 if (!ath_tx_setup(sc, WME_AC_BK, HAL_WME_AC_BK)) { 420 if_printf(ifp, "unable to setup xmit queue for %s traffic!\n", 421 ieee80211_wme_acnames[WME_AC_BK]); 422 error = EIO; 423 goto bad2; 424 } 425 if (!ath_tx_setup(sc, WME_AC_BE, HAL_WME_AC_BE) || --- 5517 unchanged lines hidden --- | 419 /* NB: insure BK queue is the lowest priority h/w queue */ 420 if (!ath_tx_setup(sc, WME_AC_BK, HAL_WME_AC_BK)) { 421 if_printf(ifp, "unable to setup xmit queue for %s traffic!\n", 422 ieee80211_wme_acnames[WME_AC_BK]); 423 error = EIO; 424 goto bad2; 425 } 426 if (!ath_tx_setup(sc, WME_AC_BE, HAL_WME_AC_BE) || --- 5517 unchanged lines hidden --- |