beacons and ibss + rsn

Ben Greear greearb at candelatech.com
Tue Apr 14 15:09:19 EDT 2015


I am trying to figure out why neither ath9k nor ath10k IBSS RSN
interfaces are advertising block-ack features in their beacons
(or probe responses).

I found this rather questionable piece of code while grepping
around....maybe supplicant just doesn't support this sort
of thing properly at present?

static int supp_get_beacon_ie(void *ctx)
{
        struct ibss_rsn_peer *peer = ctx;

        wpa_printf(MSG_DEBUG, "SUPP: %s", __func__);
        /* TODO: get correct RSN IE */
        return wpa_sm_set_ap_rsn_ie(peer->supp,
                                    (u8 *) "\x30\x14\x01\x00"
                                    "\x00\x0f\xac\x04"
                                    "\x01\x00\x00\x0f\xac\x04"
                                    "\x01\x00\x00\x0f\xac\x02"
                                    "\x00\x00", 22);
}


Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the HostAP mailing list