On Wed, May 20, 2009 at 7:19 PM, Zhu Yi <yi.zhu@xxxxxxxxx> wrote:> +static struct ieee80211_channel iwm_2ghz_channels[] = {> + CHAN2G(1, 2412, 0),> + CHAN2G(2, 2417, 0),> + CHAN2G(3, 2422, 0),> + CHAN2G(4, 2427, 0),> + CHAN2G(5, 2432, 0),> + CHAN2G(6, 2437, 0),> + CHAN2G(7, 2442, 0),> + CHAN2G(8, 2447, 0),> + CHAN2G(9, 2452, 0),> + CHAN2G(10, 2457, 0),> + CHAN2G(11, 2462, 0),> + CHAN2G(12, 2467, 0),> + CHAN2G(13, 2472, 0),> + CHAN2G(14, 2484, 0),> +};> +> +static struct ieee80211_channel iwm_5ghz_a_channels[] = {> + CHAN5G(34, 0), CHAN5G(36, 0),> + CHAN5G(38, 0), CHAN5G(40, 0),> + CHAN5G(42, 0), CHAN5G(44, 0),> + CHAN5G(46, 0), CHAN5G(48, 0),> + CHAN5G(52, 0), CHAN5G(56, 0),> + CHAN5G(60, 0), CHAN5G(64, 0),> + CHAN5G(100, 0), CHAN5G(104, 0),> + CHAN5G(108, 0), CHAN5G(112, 0),> + CHAN5G(116, 0), CHAN5G(120, 0),> + CHAN5G(124, 0), CHAN5G(128, 0),> + CHAN5G(132, 0), CHAN5G(136, 0),> + CHAN5G(140, 0), CHAN5G(149, 0),> + CHAN5G(153, 0), CHAN5G(157, 0),> + CHAN5G(161, 0), CHAN5G(165, 0),> + CHAN5G(184, 0), CHAN5G(188, 0),> + CHAN5G(192, 0), CHAN5G(196, 0),> + CHAN5G(200, 0), CHAN5G(204, 0),> + CHAN5G(208, 0), CHAN5G(212, 0),> + CHAN5G(216, 0),> +};> + CHAN2G() and CHAN5G() could use the second argument removed, its always 0. BTW does 'iw list' give you something back with all these channels? Luis��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f