: net-2.6.23 tree available
Subsystems (3)
David Miller
maintainerGet it while it's hot:
kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.23.git
We have the qdisc_restart cleanup from Jama, some TIPC work from Allan Stephens and co., and Patrick's rtnl_link work.
Also we have the removal of that multipath cached crap, and eth_copy_and_sum() which hasn't summed anything in nearly a decade.
So go fetch a double double, sit back, and enjoy.
Linux Networking. Always Fresh!
Allan Stephens (3):
[TIPC]: Improved support for Ethernet traffic filtering [TIPC]: Use standard socket "not implemented" routines [TIPC]: Optimize stream send routine to avoid fragmentation
David S. Miller (2):
[IPV4]: The scheduled removal of multipath cached routing support. [NET]: Kill eth_copy_and_sum().
Herbert Xu (1):
[TCPv4]: Improve BH latency in /proc/net/tcp
Jamal Hadi Salim (1):
[NET_SCHED]: Cleanup readability of qdisc restart
Larry Finger (1):
[MAC80211]: Add support for SIOCGIWRATE ioctl
Patrick McHardy (17):
[NET]: Mark struct net_device * argument to netdev_priv const [RTNETLINK]: Split up rtnl_setlink
[RTNETLINK]: Link creation API
[DUMMY]: Use dev->stats
[DUMMY]: Keep dummy devices on list
[DUMMY]: Use rtnl_link API
[IFB]: Keep ifb devices on list
[IFB]: Use rtnl_link API
[VLAN]: Convert name-based configuration functions to struct netdevice * [VLAN]: Move some device intialization code to dev->init callback [VLAN]: Move vlan_group allocation to seperate function [VLAN]: Split up device checks
[VLAN]: Move device registation to seperate function [VLAN]: Return proper error codes in register_vlan_device [VLAN]: Use 32 bit value for skb->priority mapping
[VLAN]: Keep track of number of QoS mappings
[VLAN]: Use rtnl_link API
Quoted 6 lines · David Miller
Get it while it's hot:
kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.23.gitWe have the
qdisc_restartcleanup from Jama, some TIPC work from Allan Stephens and co., and Patrick'srtnl_linkwork.
I hope this still gives me the chance to submit updated patches since I've changed a few things since the last submission and a single incremental update would mix things that don't really belong together.
BTW, I'm back from my trip, I'll work through all the comments regarding these patches now.
David Miller
maintainerFrom: Patrick McHardy <[email protected]>
Date: Mon, 11 Jun 2007 13:12:08 +0200
Quoted 7 lines
I hope this still gives me the chance to submit updated patches since I've changed a few things since the last submission and a single incremental update would mix things that don't really belong together.
BTW, I'm back from my trip, I'll work through all the comments regarding these patches now.
No problem, I can yank out the current set and put your new stuff in.
Quoted 9 lines · David Miller
From: Patrick McHardy <[email protected]>
Date: Mon, 11 Jun 2007 13:12:08 +0200Quoted 5 lines
I hope this still gives me the chance to submit updated patches since I've changed a few things since the last submission and a single incremental update would mix things that don't really belong together.
Quoted 6 lines
Quoted 2 lines
BTW, I'm back from my trip, I'll work through all the comments regarding these patches now.
No problem, I can yank out the current set and put your new stuff in.
Thanks. I'll send you an update once we've worked out the IFLA_PARTNER thing.
A message that is not in the archive (sent off-list or not yet received): 20070610.181704.73383002.davem-fT/PcQaiUtIeIZ0/[email protected]
mac80211 patches for 2.6.23
Dave,
Here are a few mac80211 patches appropriate for 2.6.23.
Individual patches to follow, or you can pull at your leisure...
John
---
The following changes since commit 5ecd3100e695228ac5e0ce0e325e252c0f11806f:
Linus Torvalds (1):
Linux 2.6.22-rc4
are found in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git mac80211-upstream
Larry Finger (2):
mac80211: Add support for SIOCGIWRATE ioctl to provide rate information
mac80211: Set low initial rate in rc80211_simple
net/mac80211/ieee80211_ioctl.c | 25 ++++++++++++++++++++++++- net/mac80211/rc80211_simple.c | 12 +++++++----- 2 files changed, 31 insertions(+), 6 deletions(-)
Signature · 2 lines
John W. Linville [email protected]
PATCH 1/1 mac80211: Add support for SIOCGIWRATE ioctl to provide rate information
From: Larry Finger <[email protected]>
At present, transmission rate information for mac80211 is available only if verbose debugging is turned on, and then only in the logs. This patch implements the SIOCGIWRATE ioctl, which adds the current transmission rate to the output of iwconfig.
--- net/mac80211/ieee80211_ioctl.c | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-)
net/mac80211/ieee80211_ioctl.c +24 -1
@@ -838,6 +838,29 @@ static int ieee80211_ioctl_giwscan(struct net_device *dev, } +static int ieee80211_ioctl_giwrate (struct net_device *dev, +struct iw_request_info *info, +struct iw_param *rate,char *extra) +{ +struct ieee80211_local *local =wdev_priv (dev->ieee80211_ptr); +struct sta_info *sta; +struct ieee80211_sub_if_data *sdata; + + sdata =IEEE80211_DEV_TO_SUB_IF (dev); +if (sdata->type ==IEEE80211_IF_TYPE_STA ) + sta =sta_info_get (local, sdata->u.sta.bssid); +else +return -EOPNOTSUPP ; +if (!sta) +return -ENODEV ; +if (sta->txrate < local->oper_hw_mode->num_rates) + rate->value = local->oper_hw_mode->rates[sta->txrate].rate *100000 ; +else + rate->value =0 ; +sta_info_put (sta); +return 0 ; +} +static int ieee80211_ioctl_siwrts (struct net_device *dev,struct iw_request_info *info,struct iw_param *rts,char *extra)
@@ -1779,7 +1802,7 @@ static const iw_handler ieee80211_handler[] = (iw_handler )NULL ,/* -- hole -- */ (iw_handler )NULL ,/* -- hole -- */ (iw_handler )NULL ,/* SIOCSIWRATE */ - (iw_handler )NULL ,/* SIOCGIWRATE */ + (iw_handler ) ieee80211_ioctl_giwrate,/* SIOCGIWRATE */ (iw_handler ) ieee80211_ioctl_siwrts,/* SIOCSIWRTS */ (iw_handler ) ieee80211_ioctl_giwrts,/* SIOCGIWRTS */ (iw_handler) ieee80211_ioctl_siwfrag, /* SIOCSIWFRAG */
Signature · 5 lines
1.5.0.6 -- John W. Linville [email protected]
PATCH 1/1 mac80211: Set low initial rate in rc80211_simple
From: Larry Finger <[email protected]>
The initial rate for STA's using rc80211_simple is set to the last rate in the rate table. For situations for which the signal is weak, the rate may be too high for authentication and association. Although the rc80211_simple module will adjust the speed, the response may not be fast enough for a successful connection. This modification sets the initial rate to the lowest supported value.
--- net/mac80211/rc80211_simple.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-)
net/mac80211/rc80211_simple.c +7 -5
@@ -283,14 +283,16 @@ static void rate_control_simple_rate_init(void *priv, void *priv_sta,int i; sta->txrate =0 ; mode = local->oper_hw_mode; -/* TODO: what is a good starting rate for STA? About middle? Maybe not -* the lowest or the highest rate.. Could consider using RSSI from -* previous packets? Need to have IEEE 802.1X auth succeed immediately -* after assoc.. */ +/* TODO: This routine should consider using RSSI from previous packets +* as we need to have IEEE 802.1X auth succeed immediately after assoc.. +* Until that method is implemented, we will use the lowest supported rate +* as a workaround, */ for (i =0 ; i < mode->num_rates; i++) {if ((sta->supp_rates &BIT (i)) && - (mode->rates[i].flags &IEEE80211_RATE_SUPPORTED )) + (mode->rates[i].flags &IEEE80211_RATE_SUPPORTED )) { sta->txrate = i; +break ; + } } }
Signature · 5 lines
1.5.0.6 -- John W. Linville [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
AppliedRe: [PATCH] mac80211: Set low initial rate in rc80211_simple
From: "John W. Linville" <[email protected]>
Date: Mon, 11 Jun 2007 21:24:11 -0400
Quoted 9 lines
From: Larry Finger <[email protected]>
The initial rate for STA's using
rc80211_simpleis set to the last rate in the rate table. For situations for which the signal is weak, the rate may be too high for authentication and association. Although therc80211_simplemodule will adjust the speed, the response may not be fast enough for a successful connection. This modification sets the initial rate to the lowest supported value.
Quoted 3 lines
Signed-off-by Larry Finger <[email protected]>Signed-off-by Johannes Berg <[email protected]>Signed-off-by John W. Linville <[email protected]>
Applied to net-2.6.23
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH] mac80211: Add support for SIOCGIWRATE ioctl to provide rate information
From: "John W. Linville" <[email protected]>
Date: Mon, 11 Jun 2007 21:23:19 -0400
Quoted 9 lines
From: Larry Finger <[email protected]>
At present, transmission rate information for mac80211 is available only if verbose debugging is turned on, and then only in the logs. This patch implements the SIOCGIWRATE ioctl, which adds the current transmission rate to the output of iwconfig.
Signed-off-by Larry Finger <[email protected]>Signed-off-by John W. Linville <[email protected]>
This change appears to already be in the tree.