return cpu_to_le16((uint16_t)capability);
}
-static void init_request(struct ks_wlan_private *priv, struct hostif_request_t *req)
+static void init_request(struct ks_wlan_private *priv, struct hostif_request *req)
{
req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type));
req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode));
#define CTS_MODE_FALSE 0
#define CTS_MODE_TRUE 1
-struct hostif_request_t {
+struct hostif_request {
__le16 phy_type;
__le16 cts_mode;
__le16 scan_type;
*/
struct hostif_ps_adhoc_set_request_t {
struct hostif_hdr header;
- struct hostif_request_t request;
+ struct hostif_request request;
__le16 channel;
} __packed;
*/
struct hostif_infrastructure_set_request_t {
struct hostif_hdr header;
- struct hostif_request_t request;
+ struct hostif_request request;
struct ssid ssid;
__le16 beacon_lost_count;
__le16 auth_type;
*/
struct hostif_adhoc_set_request_t {
struct hostif_hdr header;
- struct hostif_request_t request;
+ struct hostif_request request;
struct ssid ssid;
__le16 channel;
} __packed;
*/
struct hostif_adhoc_set2_request_t {
struct hostif_hdr header;
- struct hostif_request_t request;
+ struct hostif_request request;
__le16 reserved;
struct ssid ssid;
struct channel_list channel_list;