[PATCH] MESH ALWAYS ON
Brajesh Dave
brajeshd at marvell.com
Fri Oct 19 00:15:06 EDT 2007
Hi Holger,
The modified patch will not affect the below mentioned functionality. I
have corrected it to return the rate only if the adapter is connected as
original. So the data rate will be displayed only if eth1 is up and
connected. Also retained the original code for set_power and get_power
ioctls.
>Does this mean that in the current code, that the get rate wireless
>extension ioctl only works if the adapter is connected? With your
>patch, it would work if either the adapter (a.k.a. 802.11) or the mesh
>is connected?
>Wouldn't that return a rate on eth1 (802.11) even when it is down
>and not associated to anywhere when msh0 is up?
I have one query regarding Mutt application for submitting patches. I
have submitted the patch using Mutt (having my email-id which has
libertas-dev mailing lit membership). But it has not been distributed.
Can anyone guide me if it requires any special settings? The objective
of using mutt is to avoid unnecessary wrapping of longer text lines.
Regards,
Brajesh
-----Original Message-----
From: libertas-dev-bounces at lists.infradead.org
[mailto:libertas-dev-bounces at lists.infradead.org] On Behalf Of Brajesh
Dave
Sent: Thursday, October 18, 2007 7:37 PM
To: Holger Schurig
Cc: libertas-dev at lists.infradead.org
Subject: RE: [PATCH] MESH ALWAYS ON
Hi Holger,
Thanks for pointing out that mistake. I have made that correction and
sending the patch again in my next email.
Regards,
Brajesh
-----Original Message-----
From: libertas-dev-bounces at lists.infradead.org
[mailto:libertas-dev-bounces at lists.infradead.org] On Behalf Of Holger
Schurig
Sent: Thursday, October 18, 2007 12:42 PM
To: libertas-dev at lists.infradead.org
Subject: Re: [PATCH] MESH ALWAYS ON
Hi Dave !
I haven't looked at your patch per-se (as I mostly use a CF card with
a mesh-unaware firmware), but here's a comment on the patch format:
> - (adapter->connect_status == LIBERTAS_CONNECTED)) {
> + ((adapter->connect_status == LIBERTAS_CONNECTED) ||
> + (adapter->mesh_connect_status ==
> LIBERTAS_CONNECTED)) ) {
You need to turn word-wrap off in your E-Mail-Client. Because your
e-mail client wrapped the "LIBERTAS_CONNECTED)) ) {" to the next line.
This happened several times.
This makes it quite impossible to use your e-mail to feed "patch",
"git" or "quilt" with it.
For example, in KMail it's in "Options" -> "Wordwrap" while writing
a mail.
Once question, thought. For example, in:
@@ -1080,7 +1097,8 @@ static int wlan_get_rate(struct net_device *dev,
struct iw_request_info *info,
lbs_deb_enter(LBS_DEB_WEXT);
- if (adapter->connect_status == LIBERTAS_CONNECTED) {
+ if( (adapter->connect_status == LIBERTAS_CONNECTED) ||
+ (adapter->mesh_connect_status == LIBERTAS_CONNECTED)) {
vwrq->value = adapter->cur_rate * 500000;
if (adapter->auto_rate)
--
1.5.2.4
Does this mean that in the current code, that the get rate wireless
extension ioctl only works if the adapter is connected? With your
patch, it would work if either the adapter (a.k.a. 802.11) or the mesh
is connected?
Wouldn't that return a rate on eth1 (802.11) even when it is down
and not associated to anywhere when msh0 is up?
_______________________________________________
libertas-dev mailing list
libertas-dev at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/libertas-dev
_______________________________________________
libertas-dev mailing list
libertas-dev at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/libertas-dev
More information about the libertas-dev
mailing list