#define MSI_STANDARD_EC_BLUETOOTH_MASK (1 << 0)
 #define MSI_STANDARD_EC_WEBCAM_MASK    (1 << 1)
 #define MSI_STANDARD_EC_WLAN_MASK      (1 << 3)
+#define MSI_STANDARD_EC_3G_MASK                (1 << 4)
 
 static int force;
 module_param(force, bool, 0);
 MODULE_PARM_DESC(auto_brightness, "Enable automatic brightness control (0: disabled; 1: enabled; 2: don't touch)");
 
 static bool old_ec_model;
-static int wlan_s, bluetooth_s;
+static int wlan_s, bluetooth_s, threeg_s;
 
 /* Hardware access */
 
 
        bluetooth_s = !!(rdata & MSI_STANDARD_EC_BLUETOOTH_MASK);
 
+       threeg_s = !!(rdata & MSI_STANDARD_EC_3G_MASK);
+
        return 0;
 }
 
        return sprintf(buf, "%i\n", enabled);
 }
 
+static ssize_t show_threeg(struct device *dev,
+       struct device_attribute *attr, char *buf)
+{
+
+       int ret;
+
+       /* old msi ec not support 3G */
+       if (old_ec_model)
+               return -1;
+
+       ret = get_wireless_state_ec_standard();
+       if (ret < 0)
+               return ret;
+
+       return sprintf(buf, "%i\n", threeg_s);
+}
+
 static ssize_t show_lcd_level(struct device *dev,
        struct device_attribute *attr, char *buf)
 {
 static DEVICE_ATTR(auto_brightness, 0644, show_auto_brightness, store_auto_brightness);
 static DEVICE_ATTR(bluetooth, 0444, show_bluetooth, NULL);
 static DEVICE_ATTR(wlan, 0444, show_wlan, NULL);
+static DEVICE_ATTR(threeg, 0444, show_threeg, NULL);
 
 static struct attribute *msipf_attributes[] = {
        &dev_attr_lcd_level.attr,
        if (ret)
                goto fail_platform_device2;
 
+       if (!old_ec_model) {
+               ret = device_create_file(&msipf_device->dev, &dev_attr_threeg);
+               if (ret)
+                       goto fail_platform_device2;
+       }
+
        /* Disable automatic brightness control by default because
         * this module was probably loaded to do brightness control in
         * software. */
 {
 
        sysfs_remove_group(&msipf_device->dev.kobj, &msipf_attribute_group);
+       if (!old_ec_model)
+               device_remove_file(&msipf_device->dev, &dev_attr_threeg);
        platform_device_unregister(msipf_device);
        platform_driver_unregister(&msipf_driver);
        backlight_device_unregister(msibl_device);