2 * This file is part of wl1251
4 * Copyright (C) 2009 Nokia Corporation
6 * Contact: Kalle Valo <kalle.valo@nokia.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24 #ifndef __WL1251_INIT_H__
25 #define __WL1251_INIT_H__
30 /* best effort/legacy */
42 /* broadcast dummy access category */
45 NUM_ACCESS_CATEGORIES
= 4
48 /* following are defult values for the IE fields*/
58 /* slot number setting to start transmission at PIFS interval */
62 * slot number setting to start transmission at DIFS interval - normal DCF
69 #define AIFSN_VI AIFS_PIFS
70 #define AIFSN_VO AIFS_PIFS
76 int wl1251_hw_init_hwenc_config(struct wl1251
*wl
);
77 int wl1251_hw_init_templates_config(struct wl1251
*wl
);
78 int wl1251_hw_init_rx_config(struct wl1251
*wl
, u32 config
, u32 filter
);
79 int wl1251_hw_init_phy_config(struct wl1251
*wl
);
80 int wl1251_hw_init_beacon_filter(struct wl1251
*wl
);
81 int wl1251_hw_init_pta(struct wl1251
*wl
);
82 int wl1251_hw_init_energy_detection(struct wl1251
*wl
);
83 int wl1251_hw_init_beacon_broadcast(struct wl1251
*wl
);
84 int wl1251_hw_init_power_auth(struct wl1251
*wl
);
85 int wl1251_hw_init_mem_config(struct wl1251
*wl
);
86 int wl1251_hw_init(struct wl1251
*wl
);