[Prism54-devel] mlme interface
kaleda
gadeanta@soften.ktu.lt
Wed, 17 Dec 2003 10:14:27 +0200
On Tr, 2003-12-17 at 06:29, zchen@SonicWALL.com wrote:
> I need to change the mlme auto level from 0 to 1 or 2. In the islpci_mgt_mlme function, should I send back the response packet using islpci_eth_transmit, or using the pimfor interface "islpci_mgmt_queue"?
>
> Anyone have a simple example?
> Thanks.
>
int rvalue;
struct obj_mlme mlme;
memset(&mlme, 0, sizeof(struct obj_mlme));
// set mlme client mac to kick, e.g.:
memset(mlme.address, 0xAA, 6);
// do the kick
rvalue = islpci_mgt_queue(private_config, PIMFOR_OP_SET,
DOT11_OID_DEAUTHENTICATE, 0, &mlme, sizeof(struct obj_mlme), 0);
kaleda