Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 11:57:36 +0200
From:      Berislav Purgar <bpurgar@gmail.com>
To:        Kang Yin Su <cantona@cantona.net>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: AR5416 - tdma ??
Message-ID:  <CAAUsrB6QHLFPM-uRmyM3qAgfiwR9pK438yhaS0FmnCryoggaJQ@mail.gmail.com>
In-Reply-To: <CAHjFwoCJghKwEfUAo_sw8iTnKr08Xs8Uu5Ui6Fx5GBgUQPcJeg@mail.gmail.com>
References:  <CAAUsrB4CAQsUE48LcR6MQ36TT7K7mwUBti-ekxZbCV4rZpVicg@mail.gmail.com> <CAHjFwoBVO7dUzygDuKywQsMYtTb0CtpwR=OCduMFz8hRA0Lc9g@mail.gmail.com> <CAJ-VmomEBiUYMHnZHO89aXeuUNzXdEpfqn4zgYVwd%2Bz7fOR34Q@mail.gmail.com> <CAHjFwoC79W0bP5GWji_Jr_5ubz1JoakFtYQFtg084pb7bpHf3g@mail.gmail.com> <CAJ-Vmo=qO8pNWTMCzEs4GxoE3kSYrKLdTv21ZY886e6bbKbJOQ@mail.gmail.com> <CAHjFwoCo2QcyyEbAWRXvAqAyKsxyRGgY9DUVJrhOJfzuJ70mdQ@mail.gmail.com> <CAHjFwoCJghKwEfUAo_sw8iTnKr08Xs8Uu5Ui6Fx5GBgUQPcJeg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, Sep 7, 2011 at 11:05 AM, Kang Yin Su <cantona@cantona.net> wrote:

> Attached is the patch which I modified for more than 2 stations. -Yin
>
> On Wed, Sep 7, 2011 at 4:52 PM, Kang Yin Su <cantona@cantona.net> wrote:
> > Right. I didn't change these, 8 slots is enough for my setup and the
> > default slot cnt can override by ifconfig.
> >
> > -Yin
> >
> > On Wed, Sep 7, 2011 at 4:42 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> >> On 7 September 2011 16:02, Kang Yin Su <cantona@cantona.net> wrote:
> >>> Sure,  For testing >2 slot, I just comment out the line from
> ieee80211_tdma.c
> >>>
> >>>  110://CTASSERT(TDMA_MAXSLOTS == 2);
> >>
> >> And what about these:
> >>
> >>        uint8_t tdma_inuse[1];          /* mask of slots in use */
> >>        uint8_t tdma_active[1];         /* mask of active slots */
> >>
> >> And:
> >>
> >> ieee80211_tdma.c:#define        TDMA_SLOTCNT_DEFAULT    2
> >>  /* 2x (pt-to-pt) */
> >>
> >> Did you update these?
> >>
> >> Ie, the above bitmaps are only 8 slots wide. The above define is used
> >> for initialising tdma_slotcnt so you may have overridden it somehow
> >> using ifconfig.
> >>
> >> Thanks,
> >>
> >>
> >>
> >> Adrian
> >>
> >
>

Hi ..

after applaying this patch i got error when compiling kernel :

/usr/src/sys/net80211/ieee80211_tdma.c: In function 'tdma_update':
/usr/src/sys/net80211/ieee80211_tdma.c:517: error: invalid storage class for
function 'tdma_process_params'
cc1: warnings being treated as errors
/usr/src/sys/net80211/ieee80211_tdma.c:517: warning: no previous prototype
for 'tdma_process_params' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:624: warning: no previous prototype
for 'ieee80211_tdma_getslot' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:637: warning: no previous prototype
for 'ieee80211_parse_tdma' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:668: warning: no previous prototype
for 'ieee80211_add_tdma' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:709: warning: no previous prototype
for 'ieee80211_tdma_update_beacon' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:742: error: invalid storage class for
function 'tdma_ioctl_get80211'
/usr/src/sys/net80211/ieee80211_tdma.c:742: warning: no previous prototype
for 'tdma_ioctl_get80211' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:766: error: initializer element is
not computable at load time
/usr/src/sys/net80211/ieee80211_tdma.c:770: error: invalid storage class for
function 'tdma_ioctl_set80211'
/usr/src/sys/net80211/ieee80211_tdma.c:770: warning: no previous prototype
for 'tdma_ioctl_set80211' [-Wmissing-prototypes]
/usr/src/sys/net80211/ieee80211_tdma.c:823: error: initializer element is
not computable at load time
/usr/src/sys/net80211/ieee80211_tdma.c:823: error: expected declaration or
statement at end of input
*** Error code 1

Beri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAUsrB6QHLFPM-uRmyM3qAgfiwR9pK438yhaS0FmnCryoggaJQ>