2016-04-02 12:30:59 +02:00
|
|
|
#include "cw.h"
|
|
|
|
#include "dbg.h"
|
|
|
|
#include "cw_80211.h"
|
|
|
|
|
2018-03-17 17:29:09 +01:00
|
|
|
/*
|
2016-04-02 12:30:59 +02:00
|
|
|
int cw_in_80211_mac_operation(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
|
|
|
int len, struct sockaddr *from)
|
|
|
|
{
|
|
|
|
int rid = cw_get_byte(data);
|
|
|
|
mbag_t r = mbag_i_get_mbag(conn->radios,rid,NULL);
|
|
|
|
if (!r){
|
|
|
|
cw_dbg(DBG_ELEM_ERR,"Radio %d not defined. Can't set mac operation.");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
return cw_read_80211_mac_operation(data+2,r);
|
|
|
|
}
|
2018-03-17 17:29:09 +01:00
|
|
|
*/
|