From: Zhu Yi <yi.zhu@intel.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: hostapd with mac80211 progress
Date: Fri, 29 Feb 2008 14:22:34 +0800 [thread overview]
Message-ID: <1204266154.3090.182.camel@debian.sh.intel.com> (raw)
In-Reply-To: <1204210453.6309.49.camel@johannes.berg>
On Thu, 2008-02-28 at 15:54 +0100, Johannes Berg wrote:
>
> Yes, you need at least the one hostapd patch I still have and also the
> trivial AP mode enable patch. I'll rebase my patches on the current
> wireless-testing tree in a minute so check for patch uploads later
> than this email.
OK, I've applied all these patches. The kernel doesn't compile unless I
enabled CONFIG_NETDEVICES_MULTIQUEUE && CONFIG_MAC80211_MESH and with
below patch.
Thanks,
-yi
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c
b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 2c69e5b..b54bdf8 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -3584,8 +3584,6 @@ static int iwl4965_tx_status_reply_tx(struct
iwl4965_priv *priv,
tx_status = &(priv->txq[txq_id].txb[idx].status);
tx_status->retry_count = tx_resp->failure_frame;
- tx_status->queue_number = status & 0xff;
- tx_status->queue_length = tx_resp->failure_rts;
tx_status->control.flags &= ~IEEE80211_TXCTL_AMPDU;
tx_status->flags = iwl4965_is_tx_success(status)?
IEEE80211_TX_STATUS_ACK : 0;
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
index 87b40b2..6728ff0 100644
--- a/net/mac80211/wme.c
+++ b/net/mac80211/wme.c
@@ -28,7 +28,7 @@ const int ieee802_1d_to_ac[8] = { 2, 3, 3, 2, 1, 1, 0,
0 };
struct ieee80211_sched_data
{
- unsigned long qdisc_pool[BITS_TO_LONGS(TC_80211_MAX_QUEUES)];
+ unsigned long qdisc_pool[BITS_TO_LONGS(QD_MAX_QUEUES)];
struct tcf_proto *filter_list;
struct Qdisc *queues[QD_MAX_QUEUES];
struct sk_buff_head requeued[QD_MAX_QUEUES];
diff --git a/net/mac80211/wme.h b/net/mac80211/wme.h
index 98597d9..a0a4495 100644
--- a/net/mac80211/wme.h
+++ b/net/mac80211/wme.h
@@ -23,6 +23,7 @@
#define QOS_CONTROL_TID_MASK 0x0f
#define QOS_CONTROL_ACK_POLICY_SHIFT 5
+#define QOS_CONTROL_TAG1D_MASK 0x07
extern const int ieee802_1d_to_ac[8];
next prev parent reply other threads:[~2008-02-29 6:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 9:17 hostapd with mac80211 progress Zhu Yi
2008-02-28 14:06 ` John W. Linville
2008-02-28 14:54 ` Johannes Berg
2008-02-29 6:22 ` Zhu Yi [this message]
2008-02-29 15:47 ` Johannes Berg
2008-02-29 16:25 ` Johannes Berg
2008-03-03 7:08 ` Zhu Yi
2008-03-03 9:52 ` Johannes Berg
2008-03-04 2:03 ` Zhu Yi
2008-03-04 10:00 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1204266154.3090.182.camel@debian.sh.intel.com \
--to=yi.zhu@intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.