Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 20:46:46 +0100
From:      Monthadar Al Jaberi <monthadar@gmail.com>
To:        Bernhard Schmidt <bschmidt@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: 11s mesh path setup problem
Message-ID:  <CA%2BsBSoJ8PBPMnfReiCHEcL_J23rhmCYJrxFPkFrgLpJ-3i_s-g@mail.gmail.com>
In-Reply-To: <CA%2BsBSo%2BuYa-6w8VFBMTyhWFHCNezMH5HBHJONCRvWRy6QuaCbQ@mail.gmail.com>
References:  <CA%2BsBSoJWXD5S-zvxHR_=iwh26G0bd00trR=E-jCUBD03uMrU%2BQ@mail.gmail.com> <CAJ-VmomX2NK6p%2BckB6Gc40sz0PTx7cf7NznVLH1tTPvnhmHH6A@mail.gmail.com> <201201112003.44891.bschmidt@freebsd.org> <CA%2BsBSo%2BuYa-6w8VFBMTyhWFHCNezMH5HBHJONCRvWRy6QuaCbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--bcaec554da6a8a0fac04b6aa79d8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 16, 2012 at 9:39 AM, Monthadar Al Jaberi
<monthadar@gmail.com> wrote:
> On Wed, Jan 11, 2012 at 8:03 PM, Bernhard Schmidt <bschmidt@freebsd.org> =
wrote:
>> On Wednesday 11 January 2012 18:23:29 Adrian Chadd wrote:
>>> Hi!
>>>
>>> I've just done a bit of a code review. Here are my comments:
>
> sorry for late answer here is a a better formated patch.
>
>>>
>>> * ether_sprintf() can't be implemented the way you've implemented it -
>>> it just won't work at all in a multithreaded, concurrent environment.
>>> We'll have to find an alternative way.
>>>
>>> Maybe something like:
>>>
>>> char *
>>> ether_sprintf2(const u_char *ap, char *buf, int len)
>>> {
>>> =A0 =A0 .. do things to buf, rather than the static buf.
>>> }
>>>
>>> Then maybe this'd work:
>>>
>>> char a[32], b[32];
>>> IEEE80211_NOTE(..., ether_sprintf2(addr1, a, 32), ether_sprintf2(addr2,=
 a, 32));
>>>
>>> does that make sense?
>>
>> Isn't there an example in net80211 with %D?
>> printf("%6D %6D", addr1, ":", addr2, ":");

Ok here is a patch just for fixing ieee80211_hwmp IEEE80211_NOTE
function calls before my patch.
does it look okej?

>>
>> The saner alternative is to call printf() multiple times, see ieee80211_=
dump_pkt() as an example.
>
> But that means we have to modify for example ieee80211_note_mac function?
>
>>
>> --
>> Bernhard
>
>
>
> --
> Monthadar Al Jaberi



--=20
Monthadar Al Jaberi

--bcaec554da6a8a0fac04b6aa79d8
Content-Type: text/x-patch; charset=US-ASCII;
	name="ieee80211_note_format.patch"
Content-Disposition: attachment; filename="ieee80211_note_format.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gxhwl7b51

ZGlmZiAtLWdpdCBhL3N5cy9uZXQ4MDIxMS9pZWVlODAyMTFfaHdtcC5jIGIvc3lzL25ldDgwMjEx
L2llZWU4MDIxMV9od21wLmMKaW5kZXggOTNhOWU1NS4uNzBmN2ZhNiAxMDA2NDQKLS0tIGEvc3lz
L25ldDgwMjExL2llZWU4MDIxMV9od21wLmMKKysrIGIvc3lzL25ldDgwMjExL2llZWU4MDIxMV9o
d21wLmMKQEAgLTMzLDE1ICszMywxNSBAQCBfX0ZCU0RJRCgiJEZyZWVCU0QkIik7CiAKIC8qCiAg
KiBJRUVFIDgwMi4xMXMgSHlicmlkIFdpcmVsZXNzIE1lc2ggUHJvdG9jb2wsIEhXTVAuCi0gKiAK
KyAqCiAgKiBCYXNlZCBvbiBNYXJjaCAyMDA5LCBEMy4wIDgwMi4xMXMgZHJhZnQgc3BlYy4KICAq
LwogI2luY2x1ZGUgIm9wdF9pbmV0LmgiCiAjaW5jbHVkZSAib3B0X3dsYW4uaCIKIAogI2luY2x1
ZGUgPHN5cy9wYXJhbS5oPgotI2luY2x1ZGUgPHN5cy9zeXN0bS5oPiAKLSNpbmNsdWRlIDxzeXMv
bWJ1Zi5oPiAgIAorI2luY2x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