2008-03-25 07:21:22

by Masakazu Mokuno

[permalink] [raw]
Subject: [PATCH] PS3: gelic: Add support for separate cipher selection

>From version 2.20 of the PS3 system software, the hypervisor allows the guest OSes
to specify separate cipher for group and pairwise.

Signed-off-by: Masakazu Mokuno <[email protected]>
---
drivers/net/ps3_gelic_wireless.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ps3_gelic_wireless.c
+++ b/drivers/net/ps3_gelic_wireless.c
@@ -87,7 +87,7 @@ static inline int wpa2_capable(void)

static inline int precise_ie(void)
{
- return 0; /* FIXME */
+ return (0 <= ps3_compare_firmware_version(2, 2, 0));
}
/*
* post_eurus_cmd helpers
--
Masakazu Mokuno